Re-draws every portal sign each time a new world is loaded to prevent weird states

This commit is contained in:
Kristian Knarvik 2021-10-22 21:56:35 +02:00
parent 9a0f16e558
commit 070e7250df

View File

@ -211,10 +211,6 @@ public final class PortalFileHelper {
//Re-draw the signs in case a bug in the config prevented the portal from loading and has been fixed since
for (Portal portal : PortalRegistry.getAllPortals()) {
String worldName = portal.getWorld().getName();
if (!worldName.equalsIgnoreCase(world.getName())) {
continue;
}
portal.drawSign();
}
}