mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-05-12 04:14:10 +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:
parent
cbc0c1d0b6
commit
9bd8c86a94
@ -89,7 +89,7 @@ public final class DropConsumer
|
|||||||
if( !remaining.isEmpty() ) remainingDrops.add( remaining );
|
if( !remaining.isEmpty() ) remainingDrops.add( remaining );
|
||||||
}
|
}
|
||||||
|
|
||||||
@SubscribeEvent( priority = EventPriority.LOWEST )
|
@SubscribeEvent( priority = EventPriority.HIGHEST )
|
||||||
public static void onEntitySpawn( EntityJoinWorldEvent event )
|
public static void onEntitySpawn( EntityJoinWorldEvent event )
|
||||||
{
|
{
|
||||||
// Capture any nearby item spawns
|
// Capture any nearby item spawns
|
||||||
|
Loading…
x
Reference in New Issue
Block a user