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:
parent
4031b037de
commit
b90e879d4b
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user