9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-30 12:29:20 +00:00

Engine fixes

This commit is contained in:
Daniel Mills
2021-08-08 07:50:55 -04:00
parent 69cbb262ba
commit b081bbb444
13 changed files with 623 additions and 62 deletions

View File

@@ -18,6 +18,7 @@
package com.volmit.iris.util.plugin;
import com.google.common.collect.Comparators;
import com.volmit.iris.Iris;
import com.volmit.iris.core.IrisSettings;
import com.volmit.iris.util.collection.KList;
@@ -26,6 +27,9 @@ import org.bukkit.Sound;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.util.Collection;
import java.util.Collections;
import java.util.Comparator;
/**
* Represents a pawn command
@@ -197,6 +201,8 @@ public abstract class MortarCommand implements ICommand {
}
}
p.sort(Comparator.comparing(MortarCommand::getNode));
return p;
}