mirror of
https://github.com/GTNewHorizons/Gadomancy.git
synced 2026-11-26 14:53:21 +00:00
- Added some aura effects.
This commit is contained in:
1 parent
bb848689f1
commit
2d0f15d0f9
12 files changed
+336
-20
No files matched your search
@@ -47,6 +47,8 @@ import java.util.Map;
|
||||
* Created by makeo @ 05.07.2015 13:20
|
||||
*/
|
||||
public class EventHandlerWorld {
|
||||
|
||||
private int serverTick = 0;
|
||||
private Entity lastUpdated;
|
||||
|
||||
@SubscribeEvent(priority = EventPriority.LOWEST)
|
||||
@@ -98,6 +100,10 @@ public class EventHandlerWorld {
|
||||
if(event.phase != TickEvent.Phase.END) return;
|
||||
|
||||
TCMazeHandler.scheduleTick();
|
||||
serverTick++;
|
||||
if((serverTick & 15) == 0) {
|
||||
EventHandlerEntity.registeredLuxPylons.clear();
|
||||
}
|
||||
}
|
||||
|
||||
private Map<EntityPlayer, Integer> interacts = null;
|
||||
|
||||
Reference in new issue
Block a user