From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Luna Date: Fri, 28 Apr 2023 16:29:23 -0300 Subject: [PATCH] Limit map decorations diff --git a/src/main/java/net/minecraft/network/protocol/game/ClientboundMapItemDataPacket.java b/src/main/java/net/minecraft/network/protocol/game/ClientboundMapItemDataPacket.java index 81f3e64d94fa17e45411e5c1641d9c5a2fe3d2e2..bcf6e2ce9f00d1688a5fa00ec055a57389346922 100644 --- a/src/main/java/net/minecraft/network/protocol/game/ClientboundMapItemDataPacket.java +++ b/src/main/java/net/minecraft/network/protocol/game/ClientboundMapItemDataPacket.java @@ -65,7 +65,8 @@ public class ClientboundMapItemDataPacket implements Packet 32) { + return; + } + // Scissors end int i = 1 << this.scale; float f = (float) (x - (double) this.centerX) / (float) i; float f1 = (float) (z - (double) this.centerZ) / (float) i;