mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-16 21:13:11 +01:00
13 lines
446 B
Java
13 lines
446 B
Java
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
|
|
public void onPickupEvent(PlayerEvent.ItemPickupEvent event){
|
|
CraftEvent.checkAchievements(event.pickedUp.getEntityItem(), event.player, InitAchievements.PICKUP_ACH);
|
|
}
|
|
}
|