From ce5204f51a9c06046a9fbfa40ed5ebdf7197e92d Mon Sep 17 00:00:00 2001 From: Jose Date: Sun, 5 Aug 2018 17:39:15 -0500 Subject: [PATCH] Clean up log outputs --- .../geolosys/common/api/GeolosysSaveData.java | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/src/main/java/com/oitsjustjose/geolosys/common/api/GeolosysSaveData.java b/src/main/java/com/oitsjustjose/geolosys/common/api/GeolosysSaveData.java index 70219b20..65f88bdc 100644 --- a/src/main/java/com/oitsjustjose/geolosys/common/api/GeolosysSaveData.java +++ b/src/main/java/com/oitsjustjose/geolosys/common/api/GeolosysSaveData.java @@ -164,13 +164,11 @@ private void convertFromOld(NBTTagCompound nbt) for (Map.Entry e : currentWorldDepositsDeprecated.entrySet()) { - Geolosys.getInstance().LOGGER.info(e.getKey() + "=" + e.getValue()); currentWorldDeposits.put(e.getKey(), e.getValue()); } for (Map.Entry e : regennedChunksDeprecated.entrySet()) { - Geolosys.getInstance().LOGGER.info(e.getKey() + "=" + e.getValue()); regennedChunks.put(e.getKey(), e.getValue()); } @@ -181,13 +179,12 @@ private void convertFromOld(NBTTagCompound nbt) @Override public void readFromNBT(NBTTagCompound compound) { - Geolosys.getInstance().LOGGER.info("Reading from NBT"); - if (hasOldFiles) { - Geolosys.getInstance().LOGGER.info("Converting old files"); - + Geolosys.getInstance().LOGGER.info("Geolosys is converting old persistent files into Forge World Data."); this.convertFromOld(compound); + Geolosys.getInstance().LOGGER.info("Geolosys World Data conversion complete!"); + } if (compound.hasKey("currentWorldDeposits")) { @@ -206,15 +203,11 @@ public void readFromNBT(NBTTagCompound compound) regennedChunks.put(GeolosysAPI.chunkPosSerializableFromString(s), compDeposits.getBoolean(s)); } } - - Geolosys.getInstance().LOGGER.info("Done reading"); } @Override public NBTTagCompound writeToNBT(NBTTagCompound compound) { - Geolosys.getInstance().LOGGER.info("Writing to NBT"); - if (!compound.hasKey("currentWorldDeposits")) { compound.setTag("currentWorldDeposits", new NBTTagCompound()); @@ -236,8 +229,6 @@ public NBTTagCompound writeToNBT(NBTTagCompound compound) { regenDeposits.setBoolean(e.getKey().toString(), e.getValue()); } - - Geolosys.getInstance().LOGGER.info("Done writing"); return compound; }