mirror of
https://github.com/sys4-fr/server-nalc.git
synced 2024-12-24 17:50:37 +01:00
remove old unused var and remove special creative server fix
This commit is contained in:
parent
a473601752
commit
d957af5f68
@ -2472,9 +2472,6 @@ function mobs:register_egg(mob, desc, background, addegg)
|
|||||||
inventory_image = invimg,
|
inventory_image = invimg,
|
||||||
|
|
||||||
on_place = function(itemstack, placer, pointed_thing)
|
on_place = function(itemstack, placer, pointed_thing)
|
||||||
if not minetest.check_player_privs(placer:get_player_name(), {server=true}) then -- MFF
|
|
||||||
return
|
|
||||||
end
|
|
||||||
local pos = pointed_thing.above
|
local pos = pointed_thing.above
|
||||||
|
|
||||||
if pos
|
if pos
|
||||||
|
@ -1,8 +1,6 @@
|
|||||||
|
|
||||||
-- Dungeon Master by PilzAdam
|
-- Dungeon Master by PilzAdam
|
||||||
|
|
||||||
-- Node which cannot be destroyed by DungeonMasters' fireballs
|
|
||||||
local excluded = {"nether:netherrack","default:obsidian_glass","default:obsidian", "default:obsidian_cooled", "default:bedrock", "doors:door_steel_b_1", "doors:door_steel_t_1", "doors:door_steel_b_2", "doors:door_steel_t_2","default:chest_locked"}
|
|
||||||
|
|
||||||
mobs:register_mob("mobs:dungeon_master", {
|
mobs:register_mob("mobs:dungeon_master", {
|
||||||
-- animal, monster, npc, barbarian
|
-- animal, monster, npc, barbarian
|
||||||
|
Loading…
Reference in New Issue
Block a user