summaryrefslogtreecommitdiff
path: root/bunny.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bunny.lua')
-rw-r--r--bunny.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bunny.lua b/bunny.lua
index 8f594a3..f49cd23 100644
--- a/bunny.lua
+++ b/bunny.lua
@@ -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