This commit is contained in:
Shadows_of_Fire 2017-09-23 01:55:01 -04:00
parent cea5806803
commit 562f0c07e6

View file

@ -120,7 +120,7 @@ public class ItemWingsOfTheBats extends ItemBase{
if(event.getEntityLiving() instanceof EntityPlayer){ if(event.getEntityLiving() instanceof EntityPlayer){
EntityPlayer player = (EntityPlayer)event.getEntityLiving(); EntityPlayer player = (EntityPlayer)event.getEntityLiving();
if(!player.capabilities.isCreativeMode){ if(!player.capabilities.isCreativeMode && !player.isSpectator()){
PlayerData.PlayerSave data = PlayerData.getDataFromPlayer(player); PlayerData.PlayerSave data = PlayerData.getDataFromPlayer(player);
if(!player.world.isRemote){ if(!player.world.isRemote){