File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/main/java/codes/antti/bluemaptowny Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -304,7 +304,7 @@ private void updateMarkers() {
304304 if (this .config .getBoolean ("style.outpost-icon-enabled" , false )) {
305305 int i = 0 ;
306306 for (Location outpost : town .getAllOutpostSpawns ()) {
307- if (outpost .getWorld (). equals ( world )) {
307+ if (world . equals ( outpost .getWorld ())) {
308308 i ++;
309309 POIMarker iconMarker = new POIMarker .Builder ()
310310 .label (townName + " Outpost " + i )
@@ -317,7 +317,7 @@ private void updateMarkers() {
317317 }
318318 }
319319 }
320- if (spawn .isPresent () && spawn .get ().getWorld (). equals ( world )) {
320+ if (spawn .isPresent () && world . equals ( spawn .get ().getWorld ())) {
321321 if (this .config .getBoolean ("style.ruined-icon-enabled" ) && town .isRuined ()) {
322322 POIMarker iconMarker = new POIMarker .Builder ()
323323 .label (townName )
You can’t perform that action at this time.
0 commit comments