Skip to content

Commit

Permalink
spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
balugaq committed Nov 4, 2024
1 parent 74a5bc8 commit 8881ea6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,18 +72,19 @@ public void onPlayerBreak(@Nonnull BlockBreakEvent blockBreakEvent, @Nonnull Ite

for (int slot : getOutputSlots()) {
ItemStack item = blockMenu.getItemInSlot(slot);
if (item != null && item.getType()!= Material.AIR) {
if (item != null && item.getType() != Material.AIR) {
blockMenu.getLocation().getWorld().dropItemNaturally(blockMenu.getLocation(), item);
}
}

ItemStack input = blockMenu.getItemInSlot(getInputSlot());
if (input != null && input.getType()!= Material.AIR) {
if (input != null && input.getType() != Material.AIR) {
blockMenu.getLocation().getWorld().dropItemNaturally(blockMenu.getLocation(), input);
}
}
});
}

@Override
public void postRegister() {
new BlockMenuPreset(this.getId(), this.getItemName()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import com.balugaq.netex.api.data.ItemWrapper;
import com.balugaq.netex.utils.NetworksVersionedEnchantment;
import io.github.sefiraat.networks.utils.StackUtils;
import io.github.thebusybiscuit.slimefun4.api.items.SlimefunItem;
import io.github.thebusybiscuit.slimefun4.libraries.dough.collections.Pair;
import io.github.thebusybiscuit.slimefun4.libraries.dough.items.nms.ItemNameAdapter;
import io.github.thebusybiscuit.slimefun4.utils.itemstack.ItemStackWrapper;
Expand Down

0 comments on commit 8881ea6

Please sign in to comment.