Пример #1
0
 static void buySpaceHelmet(Player player, Inventory inventory) {
   Bits.editBits(player, -spacePrice);
   Clothing.setSpaceHelmet(player, true);
   NPCMechanics.setPurchased(player, 28);
   player.sendMessage(clothingPrefix + Colorizer.string("&fYou purchased &eSpace Helmet&f."));
 }
Пример #2
0
 static void buyRaveShoes(Player player, Inventory inventory) {
   Bits.editBits(player, -ravePrice);
   Clothing.setRaveShoes(player, true);
   NPCMechanics.setPurchased(player, 25);
   player.sendMessage(clothingPrefix + Colorizer.string("&fYou purchased &eRave Shoes&f."));
 }