geforkt von Mirrors/FastAsyncWorldEdit
Merge pull request #382 from ForceUpdate1/1.15
Fixing that the PlayerDropItemEvent was not fired
Dieser Commit ist enthalten in:
Commit
8597ab1ce8
@ -148,6 +148,7 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
||||
Item
|
||||
dropped = player.getWorld().dropItem(player.getLocation(), stack);
|
||||
PlayerDropItemEvent event = new PlayerDropItemEvent(player, dropped);
|
||||
Bukkit.getPluginManager().callEvent(event);
|
||||
if (event.isCancelled()) {
|
||||
dropped.remove();
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren