mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
c03f9abd18
The old code takes the first return val of `minetest.item_place_node' which is `itemstack'. Therefore, the variable `success' in the old code is always true. The new code takes the second val which will be nil if an invalid node placement occured. This check is necessary since the ladder may be placed in the front of pointed block while there is a node with hole (slabs, fences etc.) at the same place resulting an invalid placement and sound played when it shouldn't be played. |
||
---|---|---|
.. | ||
locale | ||
schematics | ||
sounds | ||
crafting.lua | ||
craftitems.lua | ||
functions.lua | ||
init.lua | ||
mod.conf | ||
nodes_base.lua | ||
nodes_cactuscane.lua | ||
nodes_climb.lua | ||
nodes_glass.lua | ||
nodes_liquid.lua | ||
nodes_misc.lua | ||
nodes_trees.lua | ||
README.txt |
VoxeLibre core mod ==================== Originally forked from Minetest Game's default mod in the distant past. License information =================== License of source code: ----------------------- Copyright (C) 2011-2012 celeron55, Perttu Ahola <celeron55@gmail.com> This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. License of all textures and sounds ---------------------------------- MIT License. The textures are taken from the Minecraft resource pack “Faithful 1.11” by Vattic and xMrVizzy and contributers. Sounds ====== All sounds included in this mod are under the MIT License. The other sounds used in this mod can be found in CORE/mcl_sounds. http://www.gnu.org/licenses/lgpl-2.1.html License of everything not listed here ------------------------------------- celeron55, Perttu Ahola <celeron55@gmail.com> CC BY-SA 3.0 <https://creativecommons.org/licenses/by-sa/3.0/>