/bsb range display : each 20 ticks instead of 15

BARRIER particles are lasting longer than the other ones. In order to avoid huge load of barrier icons (which becomes quite laggy very fast) in case the player is moving, I decided to slightly increase the amount of time between each zone-drawing.
This commit is contained in:
Florian CUNY 2018-07-19 10:37:49 +02:00
parent 62c5f20244
commit 918793fa43

View File

@ -82,7 +82,7 @@ public class AdminRangeDisplayCommand extends CompositeCommand {
// Draw the island area
drawZone(user.getPlayer(), Particle.TOWN_AURA, island.getCenter(), island.getRange());
});
}, 20, 15));
}, 20, 20));
}
private void hideZones(User user) {