Readd configurable auth server down kick message

This commit is contained in:
Bjarne Koll
2024-12-20 03:07:40 +01:00
parent 68bbd2e202
commit fd1b6b1ae9
5 changed files with 13 additions and 14 deletions

View File

@@ -279,7 +279,7 @@
-
- return true;
- }
+ if (flag && hasCorrectToolForDrops/* && event.isDropItems() */) { // CraftBukkit - Check if block should drop items // Paper - fix drops not preventing stats/food exhaustion
+ if (flag && hasCorrectToolForDrops) { // CraftBukkit - Check if block should drop items // Paper - fix drops not preventing stats/food exhaustion
+ block.playerDestroy(this.level, this.player, pos, blockState1, blockEntity, itemStack, event.isDropItems(), false); // Paper - fix drops not preventing stats/food exhaustion
+ }
+