mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
Closes #922
This commit is contained in:
parent
cea5806803
commit
562f0c07e6
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ public class ItemWingsOfTheBats extends ItemBase{
|
|||
if(event.getEntityLiving() instanceof EntityPlayer){
|
||||
EntityPlayer player = (EntityPlayer)event.getEntityLiving();
|
||||
|
||||
if(!player.capabilities.isCreativeMode){
|
||||
if(!player.capabilities.isCreativeMode && !player.isSpectator()){
|
||||
PlayerData.PlayerSave data = PlayerData.getDataFromPlayer(player);
|
||||
|
||||
if(!player.world.isRemote){
|
||||
|
|
Loading…
Reference in a new issue