ActuallyAdditions/src/main/java/ellpeck/actuallyadditions/event/PickupEvent.java

14 lines
446 B
Java
Raw Normal View History

2015-04-19 01:50:02 +02:00
package ellpeck.actuallyadditions.event;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.PlayerEvent;
import ellpeck.actuallyadditions.achievement.InitAchievements;
public class PickupEvent{
@SubscribeEvent
2015-06-28 21:28:58 +02:00
public void onPickupEvent(PlayerEvent.ItemPickupEvent event){
2015-07-01 21:32:48 +02:00
CraftEvent.checkAchievements(event.pickedUp.getEntityItem(), event.player, InitAchievements.PICKUP_ACH);
2015-04-19 01:50:02 +02:00
}
}