This commit is contained in:
rockyhawk64 2022-06-13 14:21:01 +10:00
parent 0e3bd95b2d
commit 8a1fe8c082
2 changed files with 2 additions and 2 deletions
resource
src/me/rockyhawk/commandpanels/commands

View File

@ -1,4 +1,4 @@
version: 3.17.6.0 version: 3.17.5.0
main: me.rockyhawk.commandpanels.CommandPanels main: me.rockyhawk.commandpanels.CommandPanels
name: CommandPanels name: CommandPanels
author: RockyHawk author: RockyHawk

View File

@ -22,7 +22,7 @@ public class Commandpanel implements CommandExecutor {
//below is going to go through the files and find the right one //below is going to go through the files and find the right one
Panel panel = null; Panel panel = null;
if (args.length != 0) { //check to make sure the person hasn't just left it empty if (args.length != 0) { //check to make sure the person hasn't just left it empty
for(Panel tempPanel : plugin.panelList){ for(Panel tempPanel : plugin.panelList){
if(tempPanel.getName().equals(args[0])) { if(tempPanel.getName().equals(args[0])) {
panel = tempPanel; panel = tempPanel;
break; break;