diff --git a/lib/IslandWorld-8.5.jar b/lib/IslandWorld-8.5.jar deleted file mode 100644 index dfdea1c..0000000 Binary files a/lib/IslandWorld-8.5.jar and /dev/null differ diff --git a/lib/install_local_dependencies.sh b/lib/install_local_dependencies.sh index 1d18a2f..4dcd336 100644 --- a/lib/install_local_dependencies.sh +++ b/lib/install_local_dependencies.sh @@ -1,2 +1,2 @@ -mvn -N install:install-file -Dfile=lib/IslandWorld-8.5.jar -DgroupId=pl.gnacik.islandworld -DartifactId=IslandWorld -Dversion=8.5 -Dpackaging=jar -DgeneratePom=true -mvn -N install:install-file -Dfile=lib/AreaShop-2.6.0.jar -DgroupId=me.wiefferink -DartifactId=areashop -Dversion=2.6.0 -Dpackaging=jar -DgeneratePom=true \ No newline at end of file +mvn -N install:install-file -Dfile=IslandWorld-8.5.jar -DgroupId=pl.gnacik.islandworld -DartifactId=IslandWorld -Dversion=8.5 -Dpackaging=jar -DgeneratePom=true +mvn -N install:install-file -Dfile=AreaShop-2.6.0.jar -DgroupId=me.wiefferink -DartifactId=areashop -Dversion=2.6.0 -Dpackaging=jar -DgeneratePom=true \ No newline at end of file diff --git a/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeArmorStandImpl.java b/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeArmorStandImpl.java index 8a71832..f505a0f 100644 --- a/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeArmorStandImpl.java +++ b/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeArmorStandImpl.java @@ -30,13 +30,13 @@ public class FakeArmorStandImpl extends FakeEntityImpl implements FakeAr static { try { - final Field dataSharedFlagsId = Entity.class.getDeclaredField("Z"); // DATA_SHARED_FLAGS_ID + final Field dataSharedFlagsId = Entity.class.getDeclaredField("an"); // DATA_SHARED_FLAGS_ID dataSharedFlagsId.setAccessible(true); DATA_SHARED_FLAGS_ID = forceCast(dataSharedFlagsId.get(null)); - final Field dataCustomNameField = Entity.class.getDeclaredField("aM"); // DATA_CUSTOM_NAME + final Field dataCustomNameField = Entity.class.getDeclaredField("aR"); // DATA_CUSTOM_NAME dataCustomNameField.setAccessible(true); DATA_CUSTOM_NAME = forceCast(dataCustomNameField.get(null)); - final Field dataCustomNameVisibleField = Entity.class.getDeclaredField("aN"); // DATA_CUSTOM_NAME_VISIBLE + final Field dataCustomNameVisibleField = Entity.class.getDeclaredField("aS"); // DATA_CUSTOM_NAME_VISIBLE dataCustomNameVisibleField.setAccessible(true); DATA_CUSTOM_NAME_VISIBLE = forceCast(dataCustomNameVisibleField.get(null)); } catch (ReflectiveOperationException e) { diff --git a/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeEntityImpl.java b/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeEntityImpl.java index e333f45..89c11dc 100644 --- a/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeEntityImpl.java +++ b/nms/v1_19_R3/src/main/java/de/epiceric/shopchest/nms/v1_19_R3/FakeEntityImpl.java @@ -28,13 +28,13 @@ public abstract class FakeEntityImpl implements FakeEntity { static { try { - final Field entityCounterField = Entity.class.getDeclaredField("c"); // ENTITY_COUNTER + final Field entityCounterField = Entity.class.getDeclaredField("d"); // ENTITY_COUNTER entityCounterField.setAccessible(true); ENTITY_COUNTER = (AtomicInteger) entityCounterField.get(null); - final Field dataNoGravityField = Entity.class.getDeclaredField("aP"); // DATA_NO_GRAVITY + final Field dataNoGravityField = Entity.class.getDeclaredField("aU"); // DATA_NO_GRAVITY dataNoGravityField.setAccessible(true); DATA_NO_GRAVITY = forceCast(dataNoGravityField.get(null)); - final Field dataSilentField = Entity.class.getDeclaredField("aO"); // DATA_SILENT + final Field dataSilentField = Entity.class.getDeclaredField("aT"); // DATA_SILENT dataSilentField.setAccessible(true); DATA_SILENT = forceCast(dataSilentField.get(null)); } catch (ReflectiveOperationException e) { diff --git a/pom.xml b/pom.xml index 0b3409c..7e477ea 100644 --- a/pom.xml +++ b/pom.xml @@ -36,7 +36,7 @@ github GitHub Packages - https://maven.pkg.github.com/Flowsqy/ShopChest + https://maven.pkg.github.com/xsmeths/ShopChest @@ -67,7 +67,7 @@ github GitHub Packages - https://maven.pkg.github.com/Flowsqy/ShopChest + https://maven.pkg.github.com/xsmeths/ShopChest