Skip to content

Mineclone 2 compatibility and bug fixed - #2

Open
wuniversales wants to merge 6 commits into
HybridDog:masterfrom
wuniversales:master
Open

Mineclone 2 compatibility and bug fixed#2
wuniversales wants to merge 6 commits into
HybridDog:masterfrom
wuniversales:master

Conversation

@wuniversales

Copy link
Copy Markdown

No description provided.

Comment thread init.lua
-- Edited by Jasper den Ouden (a few commits now)

dofile(minetest.get_modpath("painting").."/crafts.lua")
dofile(minetest.get_modpath(minetest.get_current_modname()).."/crafts.lua")

@HybridDog HybridDog Mar 24, 2020

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This mod needs to be called painting because other mods may have painting in their dependency list, so you can assume that the current mod name does not change. I think it is better to crash than use a mod with wrong name.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer automatic, since if you download it on github it is renamed to painting-master...

@HybridDog HybridDog Mar 30, 2020

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Renaming the folder is mentioned at the official installation instructions: https://wiki.minetest.net/Help:Installing_Mods
The mod probably does not work if it has another name because of how the nodes and similar things are registered.

Edit: I've applied all changes except this one for now.

Comment thread crafts.lua
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants