|
|
@ -592,7 +592,7 @@ public class NetClientHandler extends NetHandler
|
|
|
|
System.arraycopy(packet.getSkyLight() , 0, storage.getSkylightArray() .data, 0, storage.getSkylightArray() .data.length);
|
|
|
|
System.arraycopy(packet.getSkyLight() , 0, storage.getSkylightArray() .data, 0, storage.getSkylightArray() .data.length);
|
|
|
|
System.arraycopy(packet.getBlockLight(), 0, storage.getBlocklightArray().data, 0, storage.getBlocklightArray().data.length);
|
|
|
|
System.arraycopy(packet.getBlockLight(), 0, storage.getBlocklightArray().data, 0, storage.getBlocklightArray().data.length);
|
|
|
|
storage.setBlockRefCnt(packet.getBlockRefCnt());
|
|
|
|
storage.setBlockRefCnt(packet.getBlockRefCnt());
|
|
|
|
this.worldClient.markBlocksDirty(packet.getX().shiftLeft(4), packet.getY() << 4, packet.getZ().shiftLeft(4), (packet.getX().shiftLeft(4)).add(BigInteger.valueOf(16)), packet.getY() << 4 + 16, (packet.getZ().shiftLeft(4)).add(BigInteger.valueOf(16)));
|
|
|
|
this.worldClient.markBlocksDirty(packet.getX().shiftLeft(4), packet.getY() << 4, packet.getZ().shiftLeft(4), (packet.getX().shiftLeft(4)).add(BigInteger.valueOf(16)), (packet.getY() << 4) + 16, (packet.getZ().shiftLeft(4)).add(BigInteger.valueOf(16)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
public void handleKickDisconnect(Packet255KickDisconnect par1Packet255KickDisconnect)
|
|
|
|
public void handleKickDisconnect(Packet255KickDisconnect par1Packet255KickDisconnect)
|
|
|
|