mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 23:37:32 +00:00
removed setting npc.stats.canDespawn to false in follower role
this was pointless what I actually want to do is disable despawning if the npc has an owner
This commit is contained in:
1 parent
84973a025a
commit
067dafdbfa
2 files changed
-2
No files matched your search
@@ -15,7 +15,6 @@ public class JobFollower extends JobInterface{
|
||||
|
||||
public JobFollower(EntityNPCInterface npc) {
|
||||
super(npc);
|
||||
npc.stats.canDespawn = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -35,7 +35,6 @@ public class RoleFollower extends RoleInterface{
|
||||
super(npc);
|
||||
inventory = new NpcMiscInventory(3);
|
||||
rates = new HashMap<Integer, Integer>();
|
||||
npc.stats.canDespawn = false;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user