Typo PlayerSecuirtyWrapper
This commit is contained in:
parent
da30d9d685
commit
9c74e26172
2 changed files with 4 additions and 4 deletions
|
@ -6,12 +6,12 @@ import java.util.HashMap;
|
||||||
import appeng.api.config.SecurityPermissions;
|
import appeng.api.config.SecurityPermissions;
|
||||||
import appeng.api.networking.security.ISecurityRegistry;
|
import appeng.api.networking.security.ISecurityRegistry;
|
||||||
|
|
||||||
public class PlayerSecuirtyWrapper implements ISecurityRegistry
|
public class PlayerSecurityWrapper implements ISecurityRegistry
|
||||||
{
|
{
|
||||||
|
|
||||||
final HashMap<Integer, EnumSet<SecurityPermissions>> target;
|
final HashMap<Integer, EnumSet<SecurityPermissions>> target;
|
||||||
|
|
||||||
public PlayerSecuirtyWrapper(HashMap<Integer, EnumSet<SecurityPermissions>> playerPerms) {
|
public PlayerSecurityWrapper(HashMap<Integer, EnumSet<SecurityPermissions>> playerPerms) {
|
||||||
target = playerPerms;
|
target = playerPerms;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
package appeng.tile.misc;
|
package appeng.tile.misc;
|
||||||
|
|
||||||
|
import appeng.helpers.PlayerSecurityWrapper;
|
||||||
import io.netty.buffer.ByteBuf;
|
import io.netty.buffer.ByteBuf;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
@ -44,7 +45,6 @@ import appeng.api.util.AECableType;
|
||||||
import appeng.api.util.AEColor;
|
import appeng.api.util.AEColor;
|
||||||
import appeng.api.util.DimensionalCoord;
|
import appeng.api.util.DimensionalCoord;
|
||||||
import appeng.api.util.IConfigManager;
|
import appeng.api.util.IConfigManager;
|
||||||
import appeng.helpers.PlayerSecuirtyWrapper;
|
|
||||||
import appeng.me.GridAccessException;
|
import appeng.me.GridAccessException;
|
||||||
import appeng.me.storage.SecurityInventory;
|
import appeng.me.storage.SecurityInventory;
|
||||||
import appeng.tile.TileEvent;
|
import appeng.tile.TileEvent;
|
||||||
|
@ -209,7 +209,7 @@ public class TileSecurity extends AENetworkTile implements ITerminalHost, IAEApp
|
||||||
if ( i instanceof IBiometricCard )
|
if ( i instanceof IBiometricCard )
|
||||||
{
|
{
|
||||||
IBiometricCard bc = (IBiometricCard) i;
|
IBiometricCard bc = (IBiometricCard) i;
|
||||||
bc.registerPermissions( new PlayerSecuirtyWrapper( playerPerms ), pr, is );
|
bc.registerPermissions( new PlayerSecurityWrapper( playerPerms ), pr, is );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue