mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-18 17:07:43 +01:00
Updated Upstream (Paper)
Upstream has released updates that appear to apply and compile correctly Paper Changes: PaperMC/Paper@57c202e0 Allow adventure nbt codec to parse all tags PaperMC/Paper@4d854e66 Disable MC-163962 fix by default PaperMC/Paper@dda39a0f 1.21.7-rc2 PaperMC/Paper@7f609243 Configuration API (#12301) PaperMC/Paper@371a4225 Remove a bunch more experimental annotations (#12712) PaperMC/Paper@a9f74cbf Readd dropped diff during 1.21.6
This commit is contained in:
@@ -6,5 +6,5 @@
|
||||
boolean flag = serverPlayer.getInventory().add(itemStack1);
|
||||
+ if (org.purpurmc.purpur.PurpurConfig.disableGiveCommandDrops) continue; // Purpur - add config option for toggling give command dropping
|
||||
if (flag && itemStack1.isEmpty()) {
|
||||
ItemEntity itemEntity = serverPlayer.drop(itemStack, false);
|
||||
ItemEntity itemEntity = serverPlayer.drop(itemStack, false, false, false, null); // Paper - do not fire PlayerDropItemEvent for /give command
|
||||
if (itemEntity != null) {
|
||||
|
||||
Reference in New Issue
Block a user