ForgePatch/forge/patches/minecraft_server/net/minecraft/src/Packet24MobSpawn.java.patch

21 lines
734 B
Diff
Raw Normal View History

--- ../src_base/minecraft_server/net/minecraft/src/Packet24MobSpawn.java 0000-00-00 00:00:00.000000000 -0000
+++ ../src_work/minecraft_server/net/minecraft/src/Packet24MobSpawn.java 0000-00-00 00:00:00.000000000 -0000
@@ -34,7 +34,7 @@
throws IOException
{
entityId = datainputstream.readInt();
- type = datainputstream.readByte();
+ type = datainputstream.readByte()&0xFF;
xPosition = datainputstream.readInt();
yPosition = datainputstream.readInt();
zPosition = datainputstream.readInt();
@@ -67,7 +67,7 @@
}
public int entityId;
- public byte type;
+ public int type;
public int xPosition;
public int yPosition;
public int zPosition;