AutoReferee

AutoReferee

9.1k Downloads

Cancel creature spawns from spawners if no players are nearby.

authorblues opened this issue ยท 0 comments

commented

This would bring CraftBukkit support for AutoReferee up to match SportBukkit on this matter. In short, when a creature spawns, use AutoRefMatch.getNearestPlayer(Location) to determine if the spawn could have been caused by a player. If not, cancel the spawn. This would be imperfect, but it would bring CraftBukkit compliance closer to the intended level.