v3.15.5.2

This commit is contained in:
rockyhawk64 2021-05-10 19:44:02 +10:00
parent c728262b9e
commit 529eed9aa9
2 changed files with 2 additions and 2 deletions

View File

@ -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() {

View File

@ -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());