mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-06-28 19:54:43 +02:00
Implement "off" to PlotWeather flag and make it default
- Players with "player weather" will no longer have their weather reset on plots that do not set the PlotWeather flag
This commit is contained in:
@ -276,10 +276,12 @@ public class BukkitPlayer extends PlotPlayer<Player> {
|
||||
case RAIN:
|
||||
this.player.setPlayerWeather(WeatherType.DOWNFALL);
|
||||
break;
|
||||
case RESET:
|
||||
default:
|
||||
case WORLD:
|
||||
this.player.resetPlayerWeather();
|
||||
break;
|
||||
default:
|
||||
//do nothing as this is PlotWeather.OFF
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user