Browse Source

Testing

combat-2
MagicBot 9 months ago
parent
commit
b2cf15139a
  1. 3
      src/engine/objects/ItemTemplate.java

3
src/engine/objects/ItemTemplate.java

@ -185,6 +185,9 @@ public class ItemTemplate {
race = race.replaceAll(",", ""); race = race.replaceAll(",", "");
race = race.replaceAll("-", ""); race = race.replaceAll("-", "");
if (race.equals("HalfGiant"))
race = "Half-Giant";
if (restrict) if (restrict)
item_race_res.add(Enum.MonsterType.valueOf(race)); item_race_res.add(Enum.MonsterType.valueOf(race));
else else

Loading…
Cancel
Save