We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d98142e commit b278a92Copy full SHA for b278a92
paper-server/patches/sources/net/minecraft/server/level/ServerPlayer.java.patch
@@ -470,7 +470,7 @@
470
+ }
471
472
473
-+ if (this.shouldDropLoot(this.level())) { // Paper - fix player loottables running when mob loot gamerule is false
++ if (!this.isSpectator() && this.shouldDropLoot(this.level())) { // Paper - fix player loottables running when mob loot gamerule is false
474
+ // SPIGOT-5071: manually add player loot tables (SPIGOT-5195 - ignores keepInventory rule)
475
+ this.dropFromLootTable(this.level(), damageSource, this.lastHurtByPlayerMemoryTime > 0);
476
+ // Paper - Restore vanilla drops behaviour; custom death loot is a noop on server player, remove.
0 commit comments