Move weather from Scene to Player

This commit is contained in:
AnimeGitB
2022-06-23 02:32:38 +09:30
parent 63a1a0ba30
commit 4e3467366e
4 changed files with 34 additions and 45 deletions

View File

@@ -12,8 +12,8 @@ public class PacketSceneAreaWeatherNotify extends BasePacket {
super(PacketOpcodes.SceneAreaWeatherNotify);
SceneAreaWeatherNotify proto = SceneAreaWeatherNotify.newBuilder()
.setWeatherAreaId(player.getScene().getWeather())
.setClimateType(player.getScene().getClimate().getValue())
.setWeatherAreaId(player.getWeatherId())
.setClimateType(player.getClimate().getValue())
.build();
this.setData(proto);