Selaa lähdekoodia

BETA: Fixing minor typo within L2PcTemplate (Missing break in setUpgainValue method)
* Reported by: Adry_85

Rumen Nikiforov 12 vuotta sitten
vanhempi
sitoutus
c166131769

+ 15 - 0
L2J_Server_BETA/java/com/l2jserver/gameserver/model/actor/templates/L2PcTemplate.java

@@ -131,20 +131,35 @@ public class L2PcTemplate extends L2CharTemplate
 		switch (paramName)
 		{
 			case "hp":
+			{
 				_baseHp[level] = (float) val;
 				break;
+			}
 			case "mp":
+			{
 				_baseMp[level] = (float) val;
 				break;
+			}
 			case "cp":
+			{
 				_baseCp[level] = (float) val;
 				break;
+			}
 			case "hpRegen":
+			{
 				_baseHpReg[level] = val;
+				break;
+			}
 			case "mpRegen":
+			{
 				_baseMpReg[level] = val;
+				break;
+			}
 			case "cpRegen":
+			{
 				_baseCpReg[level] = val;
+				break;
+			}
 		}
 	}