mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-17 02:45:13 +00:00
Run keepivy handler later so it receives curio drops as well. Closes #3196
This commit is contained in:
1 parent
99da7678d9
commit
7b2b8a69b0
1 file changed
+2
-1
@@ -16,6 +16,7 @@ import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.CompoundNBT;
|
||||
import net.minecraftforge.event.entity.living.LivingDropsEvent;
|
||||
import net.minecraftforge.event.entity.player.PlayerEvent;
|
||||
import net.minecraftforge.eventbus.api.EventPriority;
|
||||
import net.minecraftforge.eventbus.api.SubscribeEvent;
|
||||
import net.minecraftforge.fml.common.Mod;
|
||||
import vazkii.botania.common.core.helper.ItemNBTHelper;
|
||||
@@ -37,7 +38,7 @@ public class ItemKeepIvy extends ItemMod {
|
||||
super(props);
|
||||
}
|
||||
|
||||
@SubscribeEvent
|
||||
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||
public static void onPlayerDrops(LivingDropsEvent event) {
|
||||
if(!(event.getEntityLiving() instanceof PlayerEntity))
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user