Fixes method names
This commit is contained in:
parent
f3c8778ad2
commit
9863b93b41
|
@ -83,13 +83,13 @@ public class Settings {
|
||||||
// convert glass pane settings
|
// convert glass pane settings
|
||||||
int color;
|
int color;
|
||||||
if ((color = GLASS_TYPE_1.getInt(-1)) != -1) {
|
if ((color = GLASS_TYPE_1.getInt(-1)) != -1) {
|
||||||
CONFIG.set(GLASS_TYPE_1.getKey(), CompatibleMaterial.getGlassPaneColor(color).name());
|
CONFIG.set(GLASS_TYPE_1.getKey(), CompatibleMaterial.getGlassPaneForColor(color).name());
|
||||||
}
|
}
|
||||||
if ((color = GLASS_TYPE_2.getInt(-1)) != -1) {
|
if ((color = GLASS_TYPE_2.getInt(-1)) != -1) {
|
||||||
CONFIG.set(GLASS_TYPE_2.getKey(), CompatibleMaterial.getGlassPaneColor(color).name());
|
CONFIG.set(GLASS_TYPE_2.getKey(), CompatibleMaterial.getGlassPaneForColor(color).name());
|
||||||
}
|
}
|
||||||
if ((color = GLASS_TYPE_3.getInt(-1)) != -1) {
|
if ((color = GLASS_TYPE_3.getInt(-1)) != -1) {
|
||||||
CONFIG.set(GLASS_TYPE_3.getKey(), CompatibleMaterial.getGlassPaneColor(color).name());
|
CONFIG.set(GLASS_TYPE_3.getKey(), CompatibleMaterial.getGlassPaneForColor(color).name());
|
||||||
}
|
}
|
||||||
|
|
||||||
// convert economy settings
|
// convert economy settings
|
||||||
|
|
Loading…
Reference in New Issue