Guest User

BlockState - BUG

a guest
May 6th, 2015
258
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ArrayList<BlockState> toSave = new ArrayList<BlockState>();
  2.  
  3. public void saveBlock(Block block){
  4.     toSave.add(block.getState());
  5. }
  6.  
  7. public void resetBlocks(){
  8.     for(BlockState state : toSave){
  9.         state.update(true);
  10.     }
  11. }
RAW Paste Data