mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-20 22:18:58 +01:00
Fix vanilla map decorations sending when not dirty (#12098)
This commit is contained in:
parent
072a8317b2
commit
1be2e5f311
1 changed files with 1 additions and 1 deletions
|
@ -193,7 +193,7 @@
|
|||
|
||||
Collection<MapDecoration> collection;
|
||||
- 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;
|
||||
- collection = MapItemSavedData.this.decorations.values();
|
||||
+ // CraftBukkit start
|
||||
|
|
Loading…
Add table
Reference in a new issue