Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void saveChanges(){
- try {
- OutputStream os = new FileOutputStream(getDataFile());
- NBTTagCompound nbc = new NBTTagCompound();
- nbc.setTag("something1", mines);
- nbc.setTag("something2",ublocks);
- CompressedStreamTools.writeCompressed(nbc, os);
- } catch (Exception ex) {
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement