diff options
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/com/thatgravyboat/skyblockhud/location/LocationHandler.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationHandler.java b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationHandler.java index 40d39d0..b4e63ec 100644 --- a/src/main/java/com/thatgravyboat/skyblockhud/location/LocationHandler.java +++ b/src/main/java/com/thatgravyboat/skyblockhud/location/LocationHandler.java @@ -20,10 +20,13 @@ public class LocationHandler { currentLocation = Locations.CATACOMBS; } else { Locations locations; - if (isGuesting && location.endsWith("GARDEN")) { + boolean isPlot = location.startsWith("PLOT"); + if (isGuesting && (isPlot || location.endsWith("GARDEN"))) { locations = Locations.GUESTGARDEN; } else if (isGuesting) { locations = Locations.GUESTISLAND; + } else if (isPlot) { + locations = Locations.THEGARDEN; } else { locations = Locations.get(location); } |