Add experimental TNT's old name as an alias
authorPerttu Ahola <celeron55@gmail.com>
Sun, 4 Dec 2011 00:16:23 +0000 (02:16 +0200)
committerPerttu Ahola <celeron55@gmail.com>
Sun, 4 Dec 2011 00:16:23 +0000 (02:16 +0200)
data/mods/experimental/init.lua

index 15c4b03427510627a401bcb5e9172f753027f7e9..51e86c23460b9b8e704f419ba71f91db78dd417e 100644 (file)
@@ -237,6 +237,9 @@ end
 --print("Registering TNT");
 minetest.register_entity("experimental:tnt", TNT)
 
+-- Add TNT's old name also
+minetest.alias_node("TNT", "experimental:tnt")
+
 --
 -- A test entity for testing animated and yaw-modulated sprites
 --