mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-25 19:14:30 +00:00
Config Overhaul
This commit is contained in:
1 parent
b4cb69000e
commit
6e92f08851
51 files changed
+764
-395
No files matched your search
@@ -5,6 +5,7 @@ import java.util.List;
|
||||
import net.minecraft.entity.EntityLivingBase;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import noppes.npcs.CustomNpcs;
|
||||
import noppes.npcs.config.ConfigMain;
|
||||
import noppes.npcs.entity.EntityNPCInterface;
|
||||
|
||||
public class JobFollower extends JobInterface{
|
||||
@@ -53,8 +54,8 @@ public class JobFollower extends JobInterface{
|
||||
}
|
||||
|
||||
private int getRange(){
|
||||
if(range > CustomNpcs.NpcNavRange)
|
||||
return CustomNpcs.NpcNavRange;
|
||||
if(range > ConfigMain.NpcNavRange)
|
||||
return ConfigMain.NpcNavRange;
|
||||
return range;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user