set model-data to correct configuration
This commit is contained in:
parent
73f609bb87
commit
c2d298dbff
1 changed files with 2 additions and 2 deletions
|
@ -288,7 +288,7 @@ public class Config {
|
||||||
item.set("material", config.getString("lobbyItems.leave.material"));
|
item.set("material", config.getString("lobbyItems.leave.material"));
|
||||||
if(Version.atLeast("1.14")){
|
if(Version.atLeast("1.14")){
|
||||||
if(config.contains("lobbyItems.leave.model-data") && config.getInt("lobbyItems.leave.model-data") != 0){
|
if(config.contains("lobbyItems.leave.model-data") && config.getInt("lobbyItems.leave.model-data") != 0){
|
||||||
config.set("model-data", config.getInt("lobbyItems.leave.model-data"));
|
item.set("model-data", config.getInt("lobbyItems.leave.model-data"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
List<String> lore = config.getStringList("lobbyItems.leave.lore");
|
List<String> lore = config.getStringList("lobbyItems.leave.lore");
|
||||||
|
@ -311,7 +311,7 @@ public class Config {
|
||||||
lobbyItemStartPosition = config.getInt("lobbyItems.start.position");
|
lobbyItemStartPosition = config.getInt("lobbyItems.start.position");
|
||||||
if(Version.atLeast("1.14")){
|
if(Version.atLeast("1.14")){
|
||||||
if(config.contains("lobbyItems.start.model-data") && config.getInt("lobbyItems.start.model-data") != 0){
|
if(config.contains("lobbyItems.start.model-data") && config.getInt("lobbyItems.start.model-data") != 0){
|
||||||
config.set("model-data", config.getInt("lobbyItems.start.model-data"));
|
item.set("model-data", config.getInt("lobbyItems.start.model-data"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue