Mostly rendering improvements

This commit is contained in:
Ben Spiers committed 2016-02-01 23:42:30 +00:00
1 parent 25d0b7441b
commit 0179ea1f38
44 files changed
+505 -283

No files matched your search

@@ -81,6 +81,8 @@ import net.minecraftforge.fml.common.network.simpleimpl.MessageContext;
import net.minecraftforge.fml.common.network.simpleimpl.SimpleNetworkWrapper;
import net.minecraftforge.fml.relauncher.Side;
import scala.tools.nsc.Global.Run;
/**
* Mekanism packet handler. As always, use packets sparingly!
* @author AidanBrady
@@ -201,6 +203,10 @@ public class PacketHandler
{
encode(((ArrayList)data).toArray(), output);
}
else
{
throw new RuntimeException("Un-encodable data passed to encode(): " + data);
}
}
} catch(Exception e) {
Mekanism.logger.error("Error while encoding packet data.");