Minor code cleanup.

This commit is contained in:
Sindusk
2018-04-01 22:09:39 -04:00
parent 3647c7e321
commit d46b52b101
5 changed files with 179 additions and 194 deletions

View File

@@ -105,7 +105,7 @@ public class ArmourTweaks {
if(mod.enableArmourMovementModifications){
logger.info("Starting armour movement modifications...");
for(String armourName : mod.armourMovement.keySet()){
int armourTemplate = 0;
int armourTemplate;
if(mod.armourNameToItemTemplate.containsKey(armourName)){
armourTemplate = mod.armourNameToItemTemplate.get(armourName);
}else{