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);
- byte raw = doordata.byteValue();
- block.setTypeIdAndData(Material.WOOD_DOOR.getId(), raw, false);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement