Fixes code formatting
This commit is contained in:
src/main/java/net/knarcraft/stargate
@ -243,13 +243,13 @@ public class PortalRegistry {
|
||||
} else {
|
||||
//Check if network exists in the lookup list. If not, register the new network
|
||||
if (!portalLookupByNetwork.containsKey(networkName)) {
|
||||
Stargate.debug("register", String.format("Network %s not in lookupNamesNet, adding",
|
||||
Stargate.debug("register", String.format("Network %s not in lookupNamesNet, adding",
|
||||
portal.getNetwork()));
|
||||
portalLookupByNetwork.put(networkName, new HashMap<>());
|
||||
}
|
||||
//Check if this network exists in the network list. If not, register the network
|
||||
if (!allPortalNetworks.containsKey(networkName)) {
|
||||
Stargate.debug("register", String.format("Network %s not in allPortalsNet, adding",
|
||||
Stargate.debug("register", String.format("Network %s not in allPortalsNet, adding",
|
||||
portal.getNetwork()));
|
||||
allPortalNetworks.put(networkName, new ArrayList<>());
|
||||
}
|
||||
|
@ -56,7 +56,7 @@ public class PortalSignDrawer {
|
||||
|
||||
/**
|
||||
* Gets the sign for this sign drawer's portal
|
||||
*
|
||||
*
|
||||
* @return <p>The sign of this sign drawer's portal</p>
|
||||
*/
|
||||
private Sign getSign() {
|
||||
@ -103,7 +103,7 @@ public class PortalSignDrawer {
|
||||
|
||||
/**
|
||||
* Clears all lines of a sign, but does not update the sign
|
||||
*
|
||||
*
|
||||
* @param sign <p>The sign to clear</p>
|
||||
*/
|
||||
private void clearSign(Sign sign) {
|
||||
@ -225,7 +225,7 @@ public class PortalSignDrawer {
|
||||
* Draws the sign of an in-active portal
|
||||
*
|
||||
* <p>The sign for an in-active portal should display the right-click prompt and the network.</p>
|
||||
*
|
||||
*
|
||||
* @param sign <p>The sign to re-draw</p>
|
||||
*/
|
||||
private void drawInactiveSign(Sign sign) {
|
||||
|
Reference in New Issue
Block a user