aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorShane Freeder <[email protected]>2022-10-13 03:47:07 +0100
committerShane Freeder <[email protected]>2022-10-13 03:47:07 +0100
commit4714cfa6959c3d0c41669328710ebe0fd683481a (patch)
treed89eff71a84b1d8d6bedbff4982b084902886ef8
parente8374371e635b5e3a68792b9841f4fc6ed5f78d5 (diff)
downloadPaper-feat/max-map-deco-limit.tar.gz
Paper-feat/max-map-deco-limit.zip
-rw-r--r--patches/server/0926-Add-max-itemframe-decoration-limit.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0926-Add-max-itemframe-decoration-limit.patch b/patches/server/0926-Add-max-itemframe-decoration-limit.patch
index f4dcccc936..8c45a347ce 100644
--- a/patches/server/0926-Add-max-itemframe-decoration-limit.patch
+++ b/patches/server/0926-Add-max-itemframe-decoration-limit.patch
@@ -18,7 +18,7 @@ index d2a77b4ca343d19e1c70afe3f3906a9bd53d0eec..12fbca641932458df554060165a26d8c
}
}
diff --git a/src/main/java/net/minecraft/world/level/saveddata/maps/MapItemSavedData.java b/src/main/java/net/minecraft/world/level/saveddata/maps/MapItemSavedData.java
-index 67b88da702b780f79c0496cb17f1e6f1f8dd6c2b..a45244c9081e3e503930c7d8b56a318a05d7439f 100644
+index 67b88da702b780f79c0496cb17f1e6f1f8dd6c2b..62fffc32ccdfdbe86aa6b58ca40360dd901d4017 100644
--- a/src/main/java/net/minecraft/world/level/saveddata/maps/MapItemSavedData.java
+++ b/src/main/java/net/minecraft/world/level/saveddata/maps/MapItemSavedData.java
@@ -482,7 +482,7 @@ public class MapItemSavedData extends SavedData {
@@ -26,7 +26,7 @@ index 67b88da702b780f79c0496cb17f1e6f1f8dd6c2b..a45244c9081e3e503930c7d8b56a318a
}
- if (!this.isTrackedCountOverLimit(256)) {
-+ if (!this.isTrackedCountOverLimit(io.papermc.paper.configuration.GlobalConfiguration.get().misc.maxMapDecorationLimit)) {
++ if (!this.isTrackedCountOverLimit(io.papermc.paper.configuration.GlobalConfiguration.get().misc.maxMapDecorationLimit)) { // Paper
this.bannerMarkers.put(mapiconbanner.getId(), mapiconbanner);
this.addDecoration(mapiconbanner.getDecoration(), world, mapiconbanner.getId(), d0, d1, 180.0D, mapiconbanner.getName());
return true;