Skip to content

Commit

Permalink
misc: I thought it was only ThrownPotion
Browse files Browse the repository at this point in the history
  • Loading branch information
MATRIX-feather committed Feb 3, 2024
1 parent f801abb commit 0ad3a83
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/xiamomc/morph/skills/MorphSkill.java
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ protected <E extends Entity> E launchProjectile(Player player, EntityType fireba
//
// Why?

boolean useLegacyBehavior = (fireBall instanceof ThrownPotion);
boolean useLegacyBehavior = (fireBall instanceof ThrowableProjectile);

var velocity = player.getEyeLocation()
.getDirection()
Expand Down

0 comments on commit 0ad3a83

Please sign in to comment.