output.write(min);
}
@Override
public void run(int playerId) {
RenderDistance currentRender = RenderDistance.getRenderDistanceFromValue(view);
if (currentRender != null) {
SpoutPlayer player = SpoutManager.getPlayerFromId(playerId);
if (player != null) {
RenderDistanceChangeEvent event = new RenderDistanceChangeEvent(player, currentRender);
Bukkit.getServer().getPluginManager().callEvent(event);