Apply some feature patches to files instead
They're small and/or really shouldn't be left unapplied
This commit is contained in:
@@ -1342,7 +1342,7 @@
|
||||
}
|
||||
|
||||
public SectionPos getLastSectionPos() {
|
||||
@@ -1930,16 +_,41 @@
|
||||
@@ -1930,21 +_,54 @@
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -1386,6 +1386,19 @@
|
||||
}
|
||||
|
||||
this.awardStat(Stats.DROP);
|
||||
}
|
||||
|
||||
+ // Paper start - remove player from map on drop
|
||||
+ if (item.getItem() == net.minecraft.world.item.Items.FILLED_MAP) {
|
||||
+ final MapItemSavedData mapData = MapItem.getSavedData(item, this.level());
|
||||
+ if (mapData != null) {
|
||||
+ mapData.tickCarriedBy(this, item);
|
||||
+ }
|
||||
+ }
|
||||
+ // Paper end - remove player from map on drop
|
||||
return itemEntity;
|
||||
}
|
||||
}
|
||||
@@ -1955,6 +_,11 @@
|
||||
return null;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user