Browse Source

BETA: Config Typo

GodKratos 13 years ago
parent
commit
c2e8576130

+ 2 - 2
L2J_Server_BETA/dist/game/config/Character.properties

@@ -352,9 +352,9 @@ MaximumWarehouseSlotsForClan = 200
 # Maximum items that can be placed in Freight
 # Default: 200
 MaximumFreightSlots = 200
-# The priece for each item that's deposited
+# The price for each item that's deposited
 # Default: 1000
-FreightPriece = 1000
+FreightPrice = 1000
 
 # Npc talk blockage. When a player talks to a NPC, he must wait some secs
 # before being able to walk again. In seconds

+ 2 - 2
L2J_Server_BETA/java/com/l2jserver/Config.java

@@ -170,7 +170,7 @@ public final class Config
 	public static int WAREHOUSE_SLOTS_NO_DWARF;
 	public static int WAREHOUSE_SLOTS_CLAN;
 	public static int ALT_FREIGHT_SLOTS;
-	public static int ALT_FREIGHT_PRIECE;
+	public static int ALT_FREIGHT_PRICE;
 	public static boolean ALT_GAME_KARMA_PLAYER_CAN_BE_KILLED_IN_PEACEZONE;
 	public static boolean ALT_GAME_KARMA_PLAYER_CAN_SHOP;
 	public static boolean ALT_GAME_KARMA_PLAYER_CAN_TELEPORT;
@@ -1641,7 +1641,7 @@ public final class Config
 					WAREHOUSE_SLOTS_NO_DWARF = Integer.parseInt(Character.getProperty("MaximumWarehouseSlotsForNoDwarf", "100"));
 					WAREHOUSE_SLOTS_CLAN = Integer.parseInt(Character.getProperty("MaximumWarehouseSlotsForClan", "150"));
 					ALT_FREIGHT_SLOTS = Integer.parseInt(Character.getProperty("MaximumFreightSlots", "200"));
-					ALT_FREIGHT_PRIECE = Integer.parseInt(Character.getProperty("FreightPriece", "1000"));
+					ALT_FREIGHT_PRICE = Integer.parseInt(Character.getProperty("FreightPrice", "1000"));
 					ENCHANT_CHANCE = Double.parseDouble(Character.getProperty("EnchantChance", "66.66"));
 					MAX_ENCHANT_LEVEL = Integer.parseInt(Character.getProperty("MaxEnchantLevel", "0"));
 					ENCHANT_CHANCE_ELEMENT_STONE = Double.parseDouble(Character.getProperty("EnchantChanceElementStone", "50"));

+ 1 - 1
L2J_Server_BETA/java/com/l2jserver/gameserver/network/clientpackets/RequestPackageSend.java

@@ -99,7 +99,7 @@ public class RequestPackageSend extends L2GameClientPacket
 			return;
 		
 		// Freight price from config or normal price per item slot (30)
-		int fee = _count * Config.ALT_FREIGHT_PRIECE; //Config.ALT_GAME_FREIGHT_PRICE;
+		int fee = _count * Config.ALT_FREIGHT_PRICE; //Config.ALT_GAME_FREIGHT_PRICE;
 		double currentAdena = player.getAdena();
 		int slots = 0;