SHARE
TWEET

Untitled

a guest Aug 1st, 2017 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class Configuration {
  2.  
  3.     public static void syncConfig() {
  4.         ConfigPreInit.sapphireArmor = EnumHelper.addArmorMaterial("sapphire_armor", "SlurpiesDongles:sapphire",
  5.                 SlurpiesDongles.Config.get("SlurpiesDongles.sapphire_armor", "Durability", 5).getInt(),
  6.                 new int[]{SlurpiesDongles.Config.get("SlurpiesDongles.sapphire_armor", "Head", 1).getInt(),
  7.                         SlurpiesDongles.Config.get("SlurpiesDongles.sapphire_armor", "Chest", 2).getInt(),
  8.                         SlurpiesDongles.Config.get("SlurpiesDongles.sapphire_armor", "Legs", 3).getInt(),
  9.                         SlurpiesDongles.Config.get("SlurpiesDongles.sapphire_armor", "Feet", 1).getInt()},
  10.                 SlurpiesDongles.Config.get("SlurpiesDongles.sapphire_armor", "Enchantability", 12).getInt(),
  11.                 SoundEvents.ITEM_ARMOR_EQUIP_DIAMOND,
  12.                 (float) SlurpiesDongles.Config.get("SlurpiesDongles.sapphire_armor", "Toughness", 0.0D).getDouble(0.0D));
  13.  
  14.         if (SlurpiesDongles.Config.hasChanged()) {
  15.             SlurpiesDongles.Config.save();
  16.         }
  17.     }
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top