Package logisticspipes.security

Examples of logisticspipes.security.SecuritySettings.writeToNBT()


    if(setting == null && string != null && !string.isEmpty()) {
      setting = new SecuritySettings(string);
      settingsList.put(string, setting);
    }
    NBTTagCompound nbt = new NBTTagCompound();
    setting.writeToNBT(nbt);
    MainProxy.sendPacketToPlayer(PacketHandler.getPacket(SecurityStationOpenPlayer.class).setTag(nbt), player);
  }

  public void saveNewSecuritySettings(NBTTagCompound tag) {
    SecuritySettings setting = settingsList.get(tag.getString("name"));
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.