mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-05 16:39:10 +01:00
15 lines
441 B
Java
15 lines
441 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 onCraftedEvent(PlayerEvent.ItemPickupEvent event){
|
||
|
CraftEvent.checkAchievements(event.pickedUp.getEntityItem(), event, InitAchievements.PICKUP_ACH);
|
||
|
}
|
||
|
|
||
|
}
|