forked from Upstream/CommandPanels
v3.15.5.2
This commit is contained in:
parent
c728262b9e
commit
529eed9aa9
@ -84,7 +84,7 @@ public class SpecialTags implements Listener {
|
||||
e.commandTagUsed();
|
||||
//if player uses op= it will perform command as op
|
||||
final int delaySeconds = Integer.parseInt(e.args[0]);
|
||||
String finalCommand = String.join(" ",e.args).replace(e.args[0],"");
|
||||
String finalCommand = String.join(" ",e.args).replace(e.args[0],"").trim();
|
||||
new BukkitRunnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
|
@ -93,7 +93,7 @@ public class GenUtils implements Listener {
|
||||
file = YamlConfiguration.loadConfiguration(new File(folder + File.separator + date + ".yml"));
|
||||
file.set("panels." + date + ".perm", "default");
|
||||
|
||||
if(inv.getHolder() instanceof Chest || inv.getHolder() instanceof DoubleChest){
|
||||
if(inv.getType().toString().contains("CHEST")){
|
||||
file.set("panels." + date + ".rows", inv.getSize()/9);
|
||||
}else{
|
||||
file.set("panels." + date + ".rows", inv.getType().toString());
|
||||
|
Loading…
Reference in New Issue
Block a user