Skip to content

Commit

Permalink
made json parameter in WeatherChange more clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Shweit committed Aug 31, 2024
1 parent 6381763 commit 57baedd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public void onWeatherChange(final WeatherChangeEvent event) {
JSONObject jsonObject = new JSONObject();
jsonObject.put("event", eventName);
jsonObject.put("world", event.getWorld().getName());
jsonObject.put("weather", event.toWeatherState());
jsonObject.put("rain", event.toWeatherState());

RegisterWebHooks.sendToAllUrls(jsonObject);
}
Expand Down

0 comments on commit 57baedd

Please sign in to comment.