Tile Entities should re-size the buffer before sending it.
This commit is contained in:
@@ -285,6 +285,7 @@ public class AEBaseTile extends TileEntity implements IOrientable, ICommonTile,
|
||||
AELog.error( t );
|
||||
}
|
||||
|
||||
stream.capacity( stream.readableBytes() );
|
||||
data.setByteArray( "X", stream.array() );
|
||||
return new S35PacketUpdateTileEntity( xCoord, yCoord, zCoord, 64, data );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user