Add support for 1.16.4
This commit is contained in:
@@ -111,7 +111,9 @@ public final class NPCLib {
|
||||
*/
|
||||
public NPC createNPC(List<String> text) {
|
||||
try {
|
||||
return (NPC) npcClass.getConstructors()[0].newInstance(this, text);
|
||||
return (NPC) npcClass
|
||||
.getConstructors()[0]
|
||||
.newInstance(this, text);
|
||||
} catch (Exception exception) {
|
||||
logger.warning("Failed to create NPC. Please report the following stacktrace message", exception);
|
||||
}
|
||||
|
||||
@@ -17,7 +17,8 @@ public enum MinecraftVersion {
|
||||
V1_13_R2,
|
||||
V1_14_R1,
|
||||
V1_15_R1,
|
||||
V1_16_R1;
|
||||
V1_16_R1,
|
||||
V1_16_R3;
|
||||
|
||||
public boolean isAboveOrEqual(MinecraftVersion compare) {
|
||||
return ordinal() >= compare.ordinal();
|
||||
|
||||
Reference in New Issue
Block a user