From 981f65548837c08971ae2b0f3f72dfddfb40a403 Mon Sep 17 00:00:00 2001 From: Noorquacker Date: Sun, 28 Jun 2020 15:06:56 -0500 Subject: [PATCH 1/2] removed VERSION_1_1 WorldType I don't know what it was but it's not in Bukkit API 1.16+ anymore --- .../massivecore/command/type/enumeration/TypeWorldType.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/massivecraft/massivecore/command/type/enumeration/TypeWorldType.java b/src/com/massivecraft/massivecore/command/type/enumeration/TypeWorldType.java index ff7877045..b1e269bba 100644 --- a/src/com/massivecraft/massivecore/command/type/enumeration/TypeWorldType.java +++ b/src/com/massivecraft/massivecore/command/type/enumeration/TypeWorldType.java @@ -32,9 +32,9 @@ public Set getNamesInner(WorldType value) ret.add("normal"); ret.add("default"); } - else if (value == WorldType.VERSION_1_1) + else if (value == WorldType.AMPLIFIED) { - ret.add("11"); + ret.add("amplified"); } return ret; From a6a98866549e3712997d9454ae1cca914dbbbe45 Mon Sep 17 00:00:00 2001 From: Noorquacker Date: Sun, 28 Jun 2020 15:11:06 -0500 Subject: [PATCH 2/2] RIP zombie pigman Added piglin and zombie piglin in favor of zombie pigman --- .../command/type/enumeration/TypeEntityType.java | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/com/massivecraft/massivecore/command/type/enumeration/TypeEntityType.java b/src/com/massivecraft/massivecore/command/type/enumeration/TypeEntityType.java index 708dd0eaf..7718ce436 100644 --- a/src/com/massivecraft/massivecore/command/type/enumeration/TypeEntityType.java +++ b/src/com/massivecraft/massivecore/command/type/enumeration/TypeEntityType.java @@ -27,12 +27,17 @@ public Set getNamesInner(EntityType value) { Set ret = new MassiveSet<>(super.getNamesInner(value)); - if (value == EntityType.PIG_ZOMBIE) + if (value == EntityType.ZOMBIFIED_PIGLIN) { - ret.add("pigman"); ret.add("pigzombie"); - ret.add("manpig"); ret.add("zombiepig"); + ret.add("zombiepiglin"); + } + else if (value == EntityType.PIGLIN) + { + ret.add("piglin"); + ret.add("manpig"); + ret.add("pigman"); } return ret;