Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
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