diff --git a/build-number.txt b/build-number.txt index ec2b293e..c6db27c6 100644 --- a/build-number.txt +++ b/build-number.txt @@ -1 +1 @@ -1830 \ No newline at end of file +1831 \ No newline at end of file diff --git a/src/main/java/me/chayapak1/chomens_bot/plugins/CorePlugin.java b/src/main/java/me/chayapak1/chomens_bot/plugins/CorePlugin.java index 05e87d80..85196775 100644 --- a/src/main/java/me/chayapak1/chomens_bot/plugins/CorePlugin.java +++ b/src/main/java/me/chayapak1/chomens_bot/plugins/CorePlugin.java @@ -326,7 +326,7 @@ public class CorePlugin extends PositionPlugin.Listener { if (!ready) return; // fixes a bug where the Y positions are more than the ones in toSize - if (to.getY() > toSize.getY() || from.getY() > toSize.getY()) recalculateRelativePositions(); + if (to.getY() > toSize.getY() || from.getY() > toSize.getY()) reset(); final Vector3i oldSize = toSize;