Re-draws every portal sign each time a new world is loaded to prevent weird states
This commit is contained in:
parent
9a0f16e558
commit
070e7250df
@ -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
|
//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()) {
|
for (Portal portal : PortalRegistry.getAllPortals()) {
|
||||||
String worldName = portal.getWorld().getName();
|
|
||||||
if (!worldName.equalsIgnoreCase(world.getName())) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
portal.drawSign();
|
portal.drawSign();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user