remove pet properly when no owner found
This commit is contained in:
@@ -17,7 +17,8 @@ import java.util.Map;
|
|||||||
public class PlayerPet {
|
public class PlayerPet {
|
||||||
|
|
||||||
public static void process(Mob pet){
|
public static void process(Mob pet){
|
||||||
if(pet.getOwner() == null){
|
if(pet.getOwner() == null && !pet.isNecroPet()){
|
||||||
|
pet.killCharacter("no owner");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user