Skip to content

Commit

Permalink
Bump to RC3
Browse files Browse the repository at this point in the history
Fixed:
- Fixed a bug where the server would crash when a pet died whilst the player was riding it

Bump to RC3
(Yes, another one. Wanted these bugs to be fixed before I'm off for a bit)
  • Loading branch information
Jakllp committed Sep 2, 2021
1 parent 8f1748d commit 21dce69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/MyPet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<groupId>de.keyle</groupId>
<artifactId>mypet</artifactId>
<version>3.12-RC2</version>
<version>3.12-RC3</version>
<packaging>jar</packaging>
<name>MyPet</name>
<url>https://www.spigotmc.org/resources/mypet.12725/</url>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1146,7 +1146,7 @@ protected boolean removePassenger(Entity entity) {
PlatformHelper platformHelper = (PlatformHelper) MyPetApi.getPlatformHelper();
AABB bb = entity.getBoundingBox();
bb = getBBAtPosition(bb, this.getX(), this.getY(), this.getZ());
if (!platformHelper.canSpawn(getBukkitEntity().getLocation(), (MyPetMinecraftEntity) bb)) {
if (!platformHelper.canSpawn(getBukkitEntity().getLocation(), bb)) {
entity.startRiding(this, true);
} else {
entity.setPos(getX(), getY(), getZ());
Expand Down

0 comments on commit 21dce69

Please sign in to comment.