Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package com.rbs.slurpiesdongles.events;
- import net.minecraftforge.fml.common.eventhandler.SubscribeEvent;
- import net.minecraftforge.fml.common.gameevent.TickEvent;
- /**
- * Created by RedBu on 3/4/2017.
- */
- public class TickEvents {
- @SubscribeEvent
- public static void playerTick(TickEvent.PlayerTickEvent event) {
- if (event.phase == TickEvent.Phase.END) {
- }
- if (!event.player.getEntityWorld().isRemote) {
- event.player.getCapability(Timers.CAPABILITY, null).tick();
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement