Closed XuZhen86 closed 6 years ago
This pull request tries to fine tune the details of the ender pearl.
Observed behavior:
Expected behavior:
I previously submitted https://github.com/GlowstoneMC/Glowstone/pull/822, but later I found out the actual code merged is different from the one I submitted. The resulted bug is also fixed in this pull request. https://github.com/GlowstoneMC/Glowstone/commit/9c3fce2b20a642eddf816b44437e345c5f3e4bbd did not fix the player's orientation problem because https://github.com/GlowstoneMC/Glowstone/blob/9c3fce2b20a642eddf816b44437e345c5f3e4bbd/src/main/java/net/glowstone/entity/projectile/GlowEnderPearl.java#L58 should be
entity.teleport(location, PlayerTeleportEvent.TeleportCause.ENDER_PEARL);
Looks great to me, nice work! Thank you for your contribution to Glowstone.
This pull request tries to fine tune the details of the ender pearl.
Observed behavior:
Expected behavior:
I previously submitted https://github.com/GlowstoneMC/Glowstone/pull/822, but later I found out the actual code merged is different from the one I submitted. The resulted bug is also fixed in this pull request. https://github.com/GlowstoneMC/Glowstone/commit/9c3fce2b20a642eddf816b44437e345c5f3e4bbd did not fix the player's orientation problem because https://github.com/GlowstoneMC/Glowstone/blob/9c3fce2b20a642eddf816b44437e345c5f3e4bbd/src/main/java/net/glowstone/entity/projectile/GlowEnderPearl.java#L58 should be