diff --git a/1_14_R1/pom.xml b/1_14_R1/pom.xml index 20f570b..190cd74 100644 --- a/1_14_R1/pom.xml +++ b/1_14_R1/pom.xml @@ -7,7 +7,7 @@ tamablefoxes-parent net.seanomik - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT tamablefoxes_v1_14_R1 diff --git a/1_15_R1/pom.xml b/1_15_R1/pom.xml index 0517a67..2d5ccd6 100644 --- a/1_15_R1/pom.xml +++ b/1_15_R1/pom.xml @@ -7,7 +7,7 @@ tamablefoxes-parent net.seanomik - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT tamablefoxes_v1_15_R1 diff --git a/1_16_R1/pom.xml b/1_16_R1/pom.xml index ee89264..1d9bb89 100644 --- a/1_16_R1/pom.xml +++ b/1_16_R1/pom.xml @@ -7,7 +7,7 @@ tamablefoxes-parent net.seanomik - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT tamablefoxes_v1_16_R1 diff --git a/1_16_R2/pom.xml b/1_16_R2/pom.xml index fe9e1f5..610660d 100644 --- a/1_16_R2/pom.xml +++ b/1_16_R2/pom.xml @@ -7,7 +7,7 @@ tamablefoxes-parent net.seanomik - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT tamablefoxes_v1_16_R2 diff --git a/1_16_R3/pom.xml b/1_16_R3/pom.xml index 8cad3ad..26056f3 100644 --- a/1_16_R3/pom.xml +++ b/1_16_R3/pom.xml @@ -7,7 +7,7 @@ net.seanomik tamablefoxes-parent - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT tamablefoxes_v1_16_R3 diff --git a/1_17_1_R1/pom.xml b/1_17_1_R1/pom.xml index 8f83729..d6390b8 100644 --- a/1_17_1_R1/pom.xml +++ b/1_17_1_R1/pom.xml @@ -7,7 +7,7 @@ net.seanomik tamablefoxes-parent - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT diff --git a/1_17_1_R1/src/main/java/net/seanomik/tamablefoxes/versions/version_1_17_1_R1/EntityTamableFox.java b/1_17_1_R1/src/main/java/net/seanomik/tamablefoxes/versions/version_1_17_1_R1/EntityTamableFox.java index 1712f2a..1a0d8e0 100644 --- a/1_17_1_R1/src/main/java/net/seanomik/tamablefoxes/versions/version_1_17_1_R1/EntityTamableFox.java +++ b/1_17_1_R1/src/main/java/net/seanomik/tamablefoxes/versions/version_1_17_1_R1/EntityTamableFox.java @@ -171,9 +171,9 @@ public class EntityTamableFox extends Fox { public boolean isDefending() { try { - Method method = Fox.class.getDeclaredMethod("fJ"); // isDefending + Method method = Fox.class.getDeclaredMethod("u", int.class); // getFlag method.setAccessible(true); - boolean defending = (boolean) method.invoke((Fox) this); + boolean defending = (boolean) method.invoke(this, 128); method.setAccessible(false); return defending; } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException e) { @@ -185,9 +185,9 @@ public class EntityTamableFox extends Fox { public void setDefending(boolean defending) { try { - Method method = Fox.class.getDeclaredMethod("A", boolean.class); // setDefending + Method method = Fox.class.getDeclaredMethod("d", int.class, boolean.class); // setFlag method.setAccessible(true); - method.invoke((Fox) this, defending); + method.invoke(this, 128, defending); method.setAccessible(false); } catch (NoSuchMethodException | IllegalAccessException | InvocationTargetException e) { e.printStackTrace(); diff --git a/1_17_R1/pom.xml b/1_17_R1/pom.xml index 3bb479a..4e0106a 100644 --- a/1_17_R1/pom.xml +++ b/1_17_R1/pom.xml @@ -7,7 +7,7 @@ net.seanomik tamablefoxes-parent - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT diff --git a/Plugin/pom.xml b/Plugin/pom.xml index 73c1bb3..8963c64 100644 --- a/Plugin/pom.xml +++ b/Plugin/pom.xml @@ -7,7 +7,7 @@ net.seanomik tamablefoxes-parent - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT tamablefoxes @@ -54,7 +54,7 @@ shade - + D:\Code\java\spigotPlugins\servers\${server.version}\plugins\TamableFoxes_v${project.parent.version}.jar false diff --git a/Utility/pom.xml b/Utility/pom.xml index 558d651..6aab227 100644 --- a/Utility/pom.xml +++ b/Utility/pom.xml @@ -7,7 +7,7 @@ net.seanomik tamablefoxes-parent - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT tamablefoxes-util diff --git a/pom.xml b/pom.xml index 05ae9cd..9e3c741 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ net.seanomik tamablefoxes-parent - 2.1.1-SNAPSHOT + 2.1.2-SNAPSHOT pom