Add Anti-Xray bypass permission
This is a frequently requested feature. The permission is 'paper.antixray.bypass'.
This commit is contained in:
@@ -93,7 +93,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ apacket = new Packet[10];
|
||||
+ }
|
||||
+ // Paper end
|
||||
apacket[0] = new PacketPlayOutMapChunk(chunk, 65535);
|
||||
apacket[0] = new PacketPlayOutMapChunk(chunk, 65535, chunk.world.chunkPacketBlockController.shouldModify(entityplayer, chunk, 65535)); // Paper - Anti-Xray - Bypass
|
||||
apacket[1] = new PacketPlayOutLightUpdate(chunk.getPos(), this.lightEngine, true);
|
||||
+
|
||||
+ // Paper start - Fix MC-162253
|
||||
|
||||
Reference in New Issue
Block a user