private void saveData(MapDataBase var1) {
      if(this.saveHandler != null) {
         try {
            File var2 = this.saveHandler.func_28113_a(var1.field_28168_a);
            if(var2 != null) {
               NBTTagCompound var3 = new NBTTagCompound();
               var1.writeToNBT(var3);
               NBTTagCompound var4 = new NBTTagCompound();
               var4.setCompoundTag("data", var3);
               FileOutputStream var5 = new FileOutputStream(var2);
               CompressedStreamTools.writeGzippedCompoundToOutputStream(var4, var5);
               var5.close();
            }
         } catch (Exception var6) {
            var6.printStackTrace();
         }

      }
   }