Change priority of PlayerDeathEvent

This commit is contained in:
GeorgH93 2020-01-08 19:34:42 +01:00
parent 6dd2394574
commit 67169278b7
No known key found for this signature in database
GPG Key ID: D1630D37F9E4B3C8

View File

@ -141,7 +141,7 @@ else if(isItemShortcut(event.getOldCursor()))
}
}
@EventHandler(priority = EventPriority.HIGHEST, ignoreCancelled = true)
@EventHandler(priority = EventPriority.LOWEST, ignoreCancelled = true)
public void onDeath(PlayerDeathEvent event)
{
Iterator<ItemStack> itemStackIterator = event.getDrops().iterator();