Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (Location location : doorblocks.keySet()) {
- System.out.println("Working");
- if (location.getWorld() == world) {
- Block block = location.getBlock();
- byte doordata = doorblocks.get(location);
- block.setTypeIdAndData(Material.WOOD_DOOR.getId(), doordata, false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement