Fix protection provided by Gold armor in Wizards

While the name of the gold items is "Golden X", the
name of the material is "GOLD X" resulting in gold items
providing no protective benefit other than the default
vanilla protection(in the case of there being only gold
armor).
This commit is contained in:
Nate Mortensen 2016-11-20 19:17:39 -07:00 committed by cnr
parent 4031b037de
commit b90e879d4b

View File

@ -365,7 +365,7 @@ public class Wizards extends SoloGame
{ {
percent = 10; percent = 10;
} }
else if (name.contains("GOLDEN") || name.contains("CHAINMAIL")) else if (name.contains("GOLD") || name.contains("CHAINMAIL"))
{ {
percent = 15; percent = 15;
} }