And fix the read side too, incase someone is trying to bitbang and failing.

This commit is contained in:
Christian 2014-07-29 21:36:44 -02:30
parent 03174602f6
commit 655d902195
1 changed files with 2 additions and 1 deletions

View File

@ -248,7 +248,8 @@ public abstract class FMLMessage {
dataWatcherList = DataWatcher.readWatchedListFromPacketBuffer(new PacketBuffer(dat));
} catch (IOException e)
{
// Sigh
FMLLog.log(Level.FATAL, e, "There was a critical error decoding the datawatcher stream for a mod entity.");
throw Throwables.propagate(e);
}
throwerId = dat.readInt();