Skip to content

Commit

Permalink
fix: rm network components
Browse files Browse the repository at this point in the history
  • Loading branch information
lijinhong11 committed Nov 15, 2024
1 parent e3dfd80 commit aa0ee38
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import io.github.thebusybiscuit.slimefun4.api.recipes.RecipeType;
import io.github.thebusybiscuit.slimefun4.core.handlers.BlockPlaceHandler;
import me.mmmjjkx.betterChests.BCGroups;
import org.bukkit.block.BlockFace;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.inventory.ItemStack;
import org.jetbrains.annotations.NotNull;
Expand All @@ -16,7 +17,8 @@ public P2PTransfer(SlimefunItemStack item, RecipeType recipeType, ItemStack[] re
addItemHandler(new BlockPlaceHandler(false) {
@Override
public void onPlayerPlace(@NotNull BlockPlaceEvent e) {

BlockFace f = e.getPlayer().getFacing();
BlockFace dest = f.getOppositeFace();
}
});
}
Expand Down

0 comments on commit aa0ee38

Please sign in to comment.