Skip to content

Commit

Permalink
🧹 cleanup
Browse files Browse the repository at this point in the history
Took 1 minute
  • Loading branch information
kiranhart committed Jul 12, 2024
1 parent 81f5c00 commit e3de33d
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 46 deletions.
44 changes: 0 additions & 44 deletions editable-voucher-idea.yml

This file was deleted.

2 changes: 2 additions & 0 deletions src/main/java/ca/tweetzy/vouchers/api/voucher/Message.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ public interface Message extends Jsonable {
void setFadeOutDuration(int ticks);

void send(Player player, Voucher voucher, List<String> args);

void send(Player player, Voucher voucher, List<String> args, Reward reward);

String getColouredAndReplaced(Player player, Voucher voucher);

String getColouredAndReplaced(Player player, Voucher voucher, Reward reward);
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import ca.tweetzy.flight.command.Command;
import ca.tweetzy.flight.command.ReturnType;
import ca.tweetzy.vouchers.Vouchers;
import ca.tweetzy.vouchers.api.voucher.Voucher;
import org.bukkit.command.CommandSender;

import java.util.List;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ private void takeHand(@NonNull final Player player, @NonNull final Voucher vouch
voucherItem.setAmount(voucherItem.getAmount() - 1);
} else {
player.getInventory().setItemInOffHand(CompMaterial.AIR.parseItem());
}
}
}
}

Expand Down

0 comments on commit e3de33d

Please sign in to comment.