mirror of
https://codeberg.org/tenplus1/mobs_animal.git
synced 2024-12-22 17:00:26 +01:00
updated to newer 0.4.16 functions
This commit is contained in:
parent
7fdb9063b8
commit
3b72ac1357
@ -59,7 +59,7 @@ mobs:register_mob("mobs_animal:bunny", {
|
||||
|
||||
if item:get_name() == "mobs:lava_orb" then
|
||||
|
||||
if not minetest.setting_getbool("creative_mode") then
|
||||
if not mobs.is_creative(clicker:get_player_name()) then
|
||||
item:take_item()
|
||||
clicker:set_wielded_item(item)
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user