Add three missing break statements in the legeacy converter.
This commit is contained in:
@@ -397,12 +397,14 @@ public class LegacyManager {
|
|||||||
pl.debug(Settings.JAILPAYPRICEPERMINUTE.getPath() + " <-- " + s.getString());
|
pl.debug(Settings.JAILPAYPRICEPERMINUTE.getPath() + " <-- " + s.getString());
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case PriceForInfiniteJail:
|
case PriceForInfiniteJail:
|
||||||
if(global.contains(s.getString())) {
|
if(global.contains(s.getString())) {
|
||||||
c.set(Settings.JAILPAYPRICEINFINITE.getPath(), OldSettings.getGlobalInt(global, s));
|
c.set(Settings.JAILPAYPRICEINFINITE.getPath(), OldSettings.getGlobalInt(global, s));
|
||||||
pl.debug(Settings.JAILPAYPRICEINFINITE.getPath() + " <-- " + s.getString());
|
pl.debug(Settings.JAILPAYPRICEINFINITE.getPath() + " <-- " + s.getString());
|
||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
case JailPayCurrency:
|
case JailPayCurrency:
|
||||||
if(global.contains(s.getString())) {
|
if(global.contains(s.getString())) {
|
||||||
Material mat = Material.getMaterial(OldSettings.getGlobalInt(global, s));
|
Material mat = Material.getMaterial(OldSettings.getGlobalInt(global, s));
|
||||||
@@ -412,6 +414,7 @@ public class LegacyManager {
|
|||||||
count++;
|
count++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user