mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 04:35:03 +00:00
Moved NpcAPI.actionManager to ActionManager.GLOBAL
This commit is contained in:
1 parent
70f0ab1e6f
commit
91dc56bf87
3 files changed
+19
-7
No files matched your search
@@ -11,7 +11,7 @@ import net.minecraft.server.MinecraftServer;
|
||||
import net.minecraft.world.WorldServer;
|
||||
import noppes.npcs.client.AnalyticsTracking;
|
||||
import noppes.npcs.controllers.data.PlayerData;
|
||||
import noppes.npcs.scripted.NpcAPI;
|
||||
import noppes.npcs.controllers.data.action.ActionManager;
|
||||
|
||||
import java.net.InetAddress;
|
||||
import java.net.UnknownHostException;
|
||||
@@ -21,7 +21,7 @@ public class ServerTickHandler {
|
||||
@SubscribeEvent
|
||||
public void onServerTick(TickEvent.ServerTickEvent event) {
|
||||
if (event.phase == Phase.END) {
|
||||
NpcAPI.actionManager.tick();
|
||||
ActionManager.GLOBAL.tick();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user