Fix for older mod versions that used a different alias.

This commit is contained in:
Anthony Zhang 2013-06-25 12:19:58 -04:00
parent df68784cec
commit 479df82f2b

View File

@ -8,6 +8,8 @@ end
--register aliases for when someone had technic installed, but then uninstalled it but not pipeworks --register aliases for when someone had technic installed, but then uninstalled it but not pipeworks
minetest.register_alias("technic:nodebreaker_off", "pipeworks:nodebreaker_off") minetest.register_alias("technic:nodebreaker_off", "pipeworks:nodebreaker_off")
minetest.register_alias("technic:nodebreaker_on", "pipeworks:nodebreaker_on") minetest.register_alias("technic:nodebreaker_on", "pipeworks:nodebreaker_on")
minetest.register_alias("technic:node_breaker_off", "pipeworks:nodebreaker_off") --old name
minetest.register_alias("technic:node_breaker_on", "pipeworks:nodebreaker_on") --old name
minetest.register_craft({ minetest.register_craft({
output = 'pipeworks:nodebreaker_off 1', output = 'pipeworks:nodebreaker_off 1',