Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
8954e93310 | ||
|
123ed65d36 |
@@ -4,7 +4,7 @@ plugins {
|
||||
}
|
||||
|
||||
group = 'io.github.Jack1424'
|
||||
version = '1.1.1'
|
||||
version = '1.1.2'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
@@ -154,6 +154,10 @@ public final class RealTimeWeather extends JavaPlugin implements Listener {
|
||||
return;
|
||||
}
|
||||
|
||||
for (World world : getServer().getWorlds())
|
||||
if (world.getEnvironment().equals(World.Environment.NORMAL))
|
||||
world.setGameRule(GameRule.DO_WEATHER_CYCLE, false);
|
||||
|
||||
getServer().getScheduler().scheduleSyncRepeatingTask(this, () -> {
|
||||
debug("Syncing weather...");
|
||||
|
||||
|
Reference in New Issue
Block a user