mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-31 20:22:05 -07:00
Fix vanilla map decorations sending when not dirty (#12098)
This commit is contained in:
@@ -193,7 +193,7 @@
|
|||||||
|
|
||||||
Collection<MapDecoration> collection;
|
Collection<MapDecoration> collection;
|
||||||
- if (this.dirtyDecorations && this.tick++ % 5 == 0) {
|
- if (this.dirtyDecorations && this.tick++ % 5 == 0) {
|
||||||
+ if ((true || this.dirtyDecorations) && this.tick++ % 5 == 0) { // CraftBukkit - custom maps don't update this yet // TODO fix this
|
+ if ((!vanillaMaps || this.dirtyDecorations) && this.tick++ % 5 == 0) { // Paper - bypass dirtyDecorations for custom maps
|
||||||
this.dirtyDecorations = false;
|
this.dirtyDecorations = false;
|
||||||
- collection = MapItemSavedData.this.decorations.values();
|
- collection = MapItemSavedData.this.decorations.values();
|
||||||
+ // CraftBukkit start
|
+ // CraftBukkit start
|
||||||
|
Reference in New Issue
Block a user