mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-22 23:28:35 +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){
|
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){
|
||||||
|
|
Loading…
Reference in a new issue