mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fix tiara conflicting with spectator mode, closes #356
This commit is contained in:
1 file changed
+1
-1
@@ -283,7 +283,7 @@ public class ItemFlightTiara extends ItemBauble implements IManaUsingItem, IBaub
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if(!player.capabilities.isCreativeMode) {
|
||||
if(!player.isSpectator() && !player.capabilities.isCreativeMode) {
|
||||
player.capabilities.allowFlying = false;
|
||||
player.capabilities.isFlying = false;
|
||||
player.capabilities.disableDamage = false;
|
||||
|
||||
Reference in new issue
Block a user