mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-19 03:49:10 +00:00
Config Overhaul
This commit is contained in:
1 parent
b4cb69000e
commit
6e92f08851
51 files changed
+764
-395
No files matched your search
@@ -13,6 +13,7 @@ import net.minecraftforge.common.ForgeChunkManager.LoadingCallback;
|
||||
import net.minecraftforge.common.ForgeChunkManager.Ticket;
|
||||
import net.minecraftforge.common.ForgeChunkManager.Type;
|
||||
import noppes.npcs.CustomNpcs;
|
||||
import noppes.npcs.config.ConfigMain;
|
||||
import noppes.npcs.constants.EnumJobType;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
|
||||
@@ -33,7 +34,7 @@ public class ChunkController implements LoadingCallback{
|
||||
Ticket ticket = tickets.get(npc);
|
||||
if(ticket != null)
|
||||
return ticket;
|
||||
if(size() >= CustomNpcs.ChunkLoaders)
|
||||
if(size() >= ConfigMain.ChunkLoaders)
|
||||
return null;
|
||||
ticket = ForgeChunkManager.requestTicket(CustomNpcs.instance, npc.worldObj, Type.ENTITY);
|
||||
if(ticket == null)
|
||||
|
||||
Reference in new issue
Block a user