mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 08:48:34 +01:00
fix the thing
This commit is contained in:
parent
ee9abd4960
commit
2590e4b4b3
2 changed files with 2 additions and 1 deletions
|
@ -393,6 +393,7 @@ public class GuiBooklet extends GuiScreen implements IBookletGui{
|
|||
|
||||
NBTTagCompound extraData = new NBTTagCompound();
|
||||
extraData.setBoolean("BookAlreadyOpened", true);
|
||||
PacketHandlerHelper.sendChangePlayerDataPacket(extraData);
|
||||
}
|
||||
else{
|
||||
BookletUtils.openLastBookPage(this, data.theCompound.getCompoundTag("BookletData"));
|
||||
|
|
|
@ -156,7 +156,7 @@ public final class PacketHandler{
|
|||
PlayerData.PlayerSave playerData = PlayerData.getDataFromPlayer(player);
|
||||
playerData.theCompound.merge(data);
|
||||
if(player instanceof EntityPlayerMP){
|
||||
|
||||
PacketHandlerHelper.sendPlayerDataToClientPacket(player, playerData.theCompound, false);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue