Port over RCE Patches from LCEMP (#1023)
* LCEMP RCE Fixes WIP Based on https://github.com/LCEMP/LCEMP/commit/d017bfc30a68888bf5c79b23cf5c4f607cf828bf * Update to LCEMP's ByteArrayIO version Fixes compilation since ours was missing some revisions from LCEMP * Add additional safety checks missed in first pass * Remove duplicate recipe count check
This commit is contained in:
@@ -35,7 +35,7 @@ void ContainerSetSlotPacket::read(DataInputStream *dis) //throws IOException
|
||||
// 4J Stu - TU-1 hotfix
|
||||
// Fix for #13142 - Holding down the A button on the furnace ingredient slot causes the UI to display incorrect item counts
|
||||
BYTE byteId = dis->readByte();
|
||||
containerId = *(char *)&byteId;
|
||||
containerId = (char)(signed char)byteId;
|
||||
slot = dis->readShort();
|
||||
item = readItem(dis);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user