package appeng.helpers; import java.util.EnumSet; import java.util.HashMap; import appeng.api.config.SecurityPermissions; import appeng.api.networking.security.ISecurityRegistry; public class PlayerSecuirtyWrapper implements ISecurityRegistry { final HashMap> target; public PlayerSecuirtyWrapper(HashMap> playerPerms) { target = playerPerms; } @Override public void addPlayer(int PlayerID, EnumSet permissions) { target.put( PlayerID, permissions ); } }