De-activates an unregistered portal to prevent its sign to be re-drawn if destroyed while activated
This commit is contained in:
parent
527562bc60
commit
1565707809
@ -162,6 +162,7 @@ public class PortalRegistry {
|
||||
*/
|
||||
public static void unregisterPortal(Portal portal, boolean removeAll) {
|
||||
Stargate.debug("Unregister", "Unregistering gate " + portal.getName());
|
||||
portal.getPortalActivator().deactivate();
|
||||
portal.getPortalOpener().closePortal(true);
|
||||
|
||||
String portalName = portal.getName().toLowerCase();
|
||||
|
Loading…
x
Reference in New Issue
Block a user