This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Clearlag removes mob spawned with: Spider sp = (Spider) world.spawnEntity(new Location(world, 20, 123, 80), EntityType.SPIDER)', on chunk unload, but it doesn't remove /spawnmob spider from essentials, why?
I guess Essentials's code here, but I can't find the reason https://github.com/essentials/Essentials/blob/2.x/Essentials/src/com/earth2me/essentials/SpawnMob.java
I highly doubt it's clearlag removing the entities you're spawning. Try to invoke the method "entity.setRemoveWhenFarAway(false)" after spawning it.
And this is where Essentials does their spawning: https://github.com/essentials/Essentials/blob/2.x/Essentials/src/com/earth2me/essentials/Mob.java#L95
@bob7l: Go
Are you sure you marked the right line? In that line code just creates entity like I do.
To post a comment, please login or register a new account.