mirror of
https://github.com/PaperMC/Paper.git
synced 2024-11-24 19:46:21 +01:00
Fixed duping exploit.
This commit is contained in:
parent
b075a58657
commit
b054cfdda7
@ -123,6 +123,8 @@ public class EntityPlayer extends EntityHuman implements ICrafting {
|
|||||||
for (org.bukkit.inventory.ItemStack stack: event.getDrops()) {
|
for (org.bukkit.inventory.ItemStack stack: event.getDrops()) {
|
||||||
cworld.dropItemNaturally(craftEntity.getLocation(), stack);
|
cworld.dropItemNaturally(craftEntity.getLocation(), stack);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
this.x();
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user