Change event priority to HIGHEST

See the comments in a802f25dd6 -
effectively we want to make sure we arrive before any other thing which
may capture items (some magnet mods, etc...).
This commit is contained in:
SquidDev 2019-09-15 16:36:47 +01:00
parent cbc0c1d0b6
commit 9bd8c86a94
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ private static void handleDrops( ItemStack stack )
if( !remaining.isEmpty() ) remainingDrops.add( remaining );
}
@SubscribeEvent( priority = EventPriority.LOWEST )
@SubscribeEvent( priority = EventPriority.HIGHEST )
public static void onEntitySpawn( EntityJoinWorldEvent event )
{
// Capture any nearby item spawns