Add three missing break statements in the legeacy converter.

This commit is contained in:
graywolf336 2016-05-31 11:52:30 -05:00
parent fa1e935f5a
commit 922280d69c
No known key found for this signature in database
GPG Key ID: F8F0E59498A452CF

View File

@ -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;
} }