Fixes the timing of the block populator thread which caused a delay between opening a gate and it displaying as open

This commit is contained in:
Kristian Knarvik 2021-02-23 00:35:18 +01:00
parent 151c242e69
commit af693bddd2

View File

@ -568,7 +568,7 @@ public class Stargate extends JavaPlugin {
} }
getServer().getScheduler().runTaskTimer(this, new StarGateThread(), 0L, 100L); getServer().getScheduler().runTaskTimer(this, new StarGateThread(), 0L, 100L);
getServer().getScheduler().runTaskTimer(this, new BlockPopulatorThread(), 0L, 100L); getServer().getScheduler().runTaskTimer(this, new BlockPopulatorThread(), 0L, 1L);
this.registerCommands(); this.registerCommands();
} }