Skip to content

Commit

Permalink
fix test mod
Browse files Browse the repository at this point in the history
  • Loading branch information
MoriyaShiine committed May 23, 2024
1 parent 3cdaeef commit 5392a36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/testmod/java/io/github/ladysnake/paltest/PalTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private void registerWaxWings() {
if (chestplate.getItem() == waxWings) {
source.grantTo(player, VanillaAbilities.ALLOW_FLYING);
if (source.isActivelyGranting(player, VanillaAbilities.ALLOW_FLYING)) {
chestplate.damage(1, player.getRandom(), player);
chestplate.damage(1, player, EquipmentSlot.CHEST);
}
} else {
source.revokeFrom(player, VanillaAbilities.ALLOW_FLYING);
Expand Down

0 comments on commit 5392a36

Please sign in to comment.