Minor fix for duplicate if statement.

This commit is contained in:
TinyTank800 2024-05-04 12:20:17 -07:00
parent 5ce5e3dcfd
commit 8c7bc490b0

View File

@ -34,10 +34,7 @@ public class OpenGUI {
//check for if there is animations inside the custom-title section //check for if there is animations inside the custom-title section
if (pconfig.contains("custom-title" + section + ".animate" + animateValue)) { 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; section = section + ".animate" + animateValue;
}
} }
title = plugin.tex.placeholders(panel, position, p, pconfig.getString("custom-title" + section + ".title")); title = plugin.tex.placeholders(panel, position, p, pconfig.getString("custom-title" + section + ".title"));