mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Invisible NPC Fix?
This commit is contained in:
1 parent
7ef509b71c
commit
5a9bf01f7f
1 file changed
+2
@@ -138,6 +138,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
setFaction(faction.id);
|
||||
setSize(1, 1);
|
||||
this.updateTasks();
|
||||
this.func_110163_bv();
|
||||
|
||||
if (!this.isRemote() && this.wrappedNPC == null) {
|
||||
this.wrappedNPC = new ScriptNpc<>(this);
|
||||
@@ -978,6 +979,7 @@ public abstract class EntityNPCInterface extends EntityCreature implements IEnti
|
||||
this.getEntityAttribute(SharedMonsterAttributes.followRange).setBaseValue(ConfigMain.NpcNavRange);
|
||||
|
||||
this.updateTasks();
|
||||
this.func_110163_bv();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user