mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2026-05-14 22:46:10 +08:00
refactor: replace size() == 0 with isEmpty()
This commit is contained in:
@@ -678,7 +678,7 @@ public class SceneScriptManager {
|
||||
}
|
||||
|
||||
public void checkRegions() {
|
||||
if (this.regions.size() == 0) {
|
||||
if (this.regions.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user