1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2025-03-22 19:36:59 +00:00

Change event priority to HIGHEST

See the comments in a802f25dd6659826a3c2f82e7c5e36cd25c53651 -
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

View File

@ -89,7 +89,7 @@ public final class DropConsumer
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