Tile Entities should re-size the buffer before sending it.
This commit is contained in:
parent
db52d849e2
commit
c7e157a625
1 changed files with 1 additions and 0 deletions
|
@ -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 );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue