Merge pull request #84 from yarik0chka/development

Add a changing weather id
This commit is contained in:
Melledy
2022-04-21 11:47:13 -07:00
committed by GitHub
4 changed files with 19 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ public class PacketSceneAreaWeatherNotify extends GenshinPacket {
super(PacketOpcodes.SceneAreaWeatherNotify);
SceneAreaWeatherNotify proto = SceneAreaWeatherNotify.newBuilder()
.setWeatherAreaId(1)
.setWeatherAreaId(player.getScene().getWeather())
.setClimateType(player.getScene().getClimate().getValue())
.build();