Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ArrayList<BlockState> toSave = new ArrayList<BlockState>();
- public void saveBlock(Block block){
- toSave.add(block.getState());
- }
- public void resetBlocks(){
- for(BlockState state : toSave){
- state.update(true);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement