Advertisement
manusoftar

Untitled

Aug 1st, 2015
242
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.39 KB | None | 0 0
  1. public static void saveChanges(){
  2.              try {
  3.                  OutputStream os = new FileOutputStream(getDataFile());
  4.                  NBTTagCompound nbc = new NBTTagCompound();
  5.                  
  6.                  nbc.setTag("something1", mines);
  7.                  nbc.setTag("something2",ublocks);
  8.                  
  9.                  CompressedStreamTools.writeCompressed(nbc, os);
  10.                  
  11.              } catch (Exception ex) {
  12.                  
  13.              }
  14.       }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement