Advertisement
riking

Untitled

Sep 1st, 2013
347
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. for (Location location : doorblocks.keySet()) {
  2. System.out.println("Working");
  3. if (location.getWorld() == world) {
  4. Block block = location.getBlock();
  5. Byte doordata = doorblocks.get(location);
  6. byte raw = doordata.byteValue();
  7. block.setTypeIdAndData(Material.WOOD_DOOR.getId(), raw, false);
  8.  
  9. }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement