forked from Upstream/CommandPanels
Minor fix for duplicate if statement.
This commit is contained in:
parent
5ce5e3dcfd
commit
8c7bc490b0
@ -33,12 +33,9 @@ public class OpenGUI {
|
||||
String section = plugin.has.hasSection(panel,position,pconfig.getConfigurationSection("custom-title"), p);
|
||||
|
||||
//check for if there is animations inside the custom-title section
|
||||
if (pconfig.contains("custom-title" + section + ".animate" + animateValue)) {
|
||||
//check for if it contains the animate that has the animvatevalue
|
||||
if (pconfig.contains("custom-title" + section + ".animate" + animateValue)) {
|
||||
section = section + ".animate" + animateValue;
|
||||
}
|
||||
}
|
||||
|
||||
title = plugin.tex.placeholders(panel, position, p, pconfig.getString("custom-title" + section + ".title"));
|
||||
}else {
|
||||
|
Loading…
Reference in New Issue
Block a user