diff --git a/helpers/PlayerSecuirtyWrapper.java b/helpers/PlayerSecurityWrapper.java similarity index 77% rename from helpers/PlayerSecuirtyWrapper.java rename to helpers/PlayerSecurityWrapper.java index 9cace5ab..b9268d43 100644 --- a/helpers/PlayerSecuirtyWrapper.java +++ b/helpers/PlayerSecurityWrapper.java @@ -6,12 +6,12 @@ import java.util.HashMap; import appeng.api.config.SecurityPermissions; import appeng.api.networking.security.ISecurityRegistry; -public class PlayerSecuirtyWrapper implements ISecurityRegistry +public class PlayerSecurityWrapper implements ISecurityRegistry { final HashMap> target; - public PlayerSecuirtyWrapper(HashMap> playerPerms) { + public PlayerSecurityWrapper(HashMap> playerPerms) { target = playerPerms; } diff --git a/tile/misc/TileSecurity.java b/tile/misc/TileSecurity.java index 76fa9691..fc25a7a7 100644 --- a/tile/misc/TileSecurity.java +++ b/tile/misc/TileSecurity.java @@ -1,5 +1,6 @@ package appeng.tile.misc; +import appeng.helpers.PlayerSecurityWrapper; import io.netty.buffer.ByteBuf; import java.io.IOException; @@ -44,7 +45,6 @@ import appeng.api.util.AECableType; import appeng.api.util.AEColor; import appeng.api.util.DimensionalCoord; import appeng.api.util.IConfigManager; -import appeng.helpers.PlayerSecuirtyWrapper; import appeng.me.GridAccessException; import appeng.me.storage.SecurityInventory; import appeng.tile.TileEvent; @@ -209,7 +209,7 @@ public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEApp if ( i instanceof IBiometricCard ) { IBiometricCard bc = (IBiometricCard) i; - bc.registerPermissions( new PlayerSecuirtyWrapper( playerPerms ), pr, is ); + bc.registerPermissions( new PlayerSecurityWrapper( playerPerms ), pr, is ); } }