Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (mat == Material.STONE_BUTTON) {
- byte data = block.getData();
- Button btn = new Button(mat, data);
- BlockFace face = btn.getAttachedFace();
- @@ if (face == null) return;
- block = block.getRelative(face, 2);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement