mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
Fix mistakes
This commit is contained in:
parent
61224ec686
commit
53b38e51be
@ -107,7 +107,7 @@ public class StormStaff extends SimpleSlimefunItem<ItemUseHandler> {
|
||||
}
|
||||
|
||||
@ParametersAreNonnullByDefault
|
||||
private void damageItem(@Nonnull Player p, @Nullable ItemStack item) {
|
||||
private void damageItem(Player p, ItemStack item) {
|
||||
if (item.getAmount() > 1) {
|
||||
item.setAmount(item.getAmount() - 1);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user