From a8588c38b404d9067148efa176aa792bffafb8cd Mon Sep 17 00:00:00 2001 From: Anuken Date: Sat, 30 Mar 2024 14:22:22 -0400 Subject: [PATCH] Fixed #9687 --- core/assets/bundles/bundle.properties | 2 +- core/src/mindustry/logic/LStatements.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/assets/bundles/bundle.properties b/core/assets/bundles/bundle.properties index 94d1e5d086..239a70034a 100644 --- a/core/assets/bundles/bundle.properties +++ b/core/assets/bundles/bundle.properties @@ -2346,7 +2346,7 @@ lst.getblock = Get tile data at any location. lst.setblock = Set tile data at any location. lst.spawnunit = Spawn unit at a location. lst.applystatus = Apply or clear a status effect from a unit. -lst.weathersensor = Check if a type of weather is active. +lst.weathersense = Check if a type of weather is active. lst.weatherset = Set the current state of a type of weather. lst.spawnwave = Spawn a wave. lst.explosion = Create an explosion at a location. diff --git a/core/src/mindustry/logic/LStatements.java b/core/src/mindustry/logic/LStatements.java index e04293a8e7..29dde175b5 100644 --- a/core/src/mindustry/logic/LStatements.java +++ b/core/src/mindustry/logic/LStatements.java @@ -1380,7 +1380,7 @@ public class LStatements{ } } - @RegisterStatement("weathersensor") + @RegisterStatement("weathersense") public static class WeatherSenseStatement extends LStatement{ public String to = "result"; public String weather = "@rain";