summaryrefslogtreecommitdiffstats
path: root/source/Items/ItemBow.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Items/ItemBow.h')
-rw-r--r--source/Items/ItemBow.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/source/Items/ItemBow.h b/source/Items/ItemBow.h
index 1add0dc6d..7bce127b1 100644
--- a/source/Items/ItemBow.h
+++ b/source/Items/ItemBow.h
@@ -71,7 +71,11 @@ public:
return;
}
a_Player->GetWorld()->BroadcastSpawnEntity(*Arrow);
- a_Player->UseEquippedItem();
+
+ if (!a_Player->IsGameModeCreative())
+ {
+ a_Player->UseEquippedItem();
+ }
}
} ;