RoleFollowers will not despawn if they have an owner

RoleFollowers canDespawn field will be changed back to the value set by the player in the gui/api if they stop following a player
This commit is contained in:
1whohears committed 2022-05-26 03:00:49 -05:00
1 parent 6698e8619c
commit 77ee403720
4 files changed
+9 -2

No files matched your search

@@ -55,6 +55,7 @@ public class SubGuiNpcRespawn extends SubGuiInterface implements ITextfieldListe
}
else if(button.id == 1){
stats.canDespawn = button.getValue() == 1;
stats.playerSetCanDespawn = stats.canDespawn;
}
else if(button.id == 4){
stats.hideKilledBody = button.getValue() == 1;