MuffinHead
Member
I've just seen the code,if the mob is not the MRPGNPC, it won't be killed,so idk how to fix this bugIs there a way to turn the kill all entity part off?
here's the code
@Override
public void onDisable() {
for (Level level :getServer().getLevels().values()){
for (Entity entity:level.getEntities()){
if (entity instanceof MobNPC){
entity.kill();
}
}
}
}