Hopefully will resolve #736
This commit is contained in:
parent
579897040a
commit
017803b484
1 changed files with 4 additions and 1 deletions
|
@ -67,7 +67,10 @@ public class MessageSyncEnergyValues implements IMessage, IMessageHandler<Messag
|
|||
|
||||
try
|
||||
{
|
||||
compressedNBT = CompressedStreamTools.compress(energyValueRegistryNBT);
|
||||
if (energyValueRegistryNBT != null)
|
||||
{
|
||||
compressedNBT = CompressedStreamTools.compress(energyValueRegistryNBT);
|
||||
}
|
||||
}
|
||||
catch (IOException e)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue