Permalink
Browse files

Hive saving message now only appears if there is at least 1 hive in t…

…hat dimension.
  • Loading branch information...
Ri5ux committed Feb 10, 2019
1 parent d82cc3d commit 1f9ed1a5aacbf5accd4de77e9cd846301e3ab796
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/main/java/org/avp/world/hives/HiveHandler.java
@@ -177,7 +177,10 @@ public boolean saveData(World world, NBTTagCompound nbt)
return false;
}

MDX.log().info(String.format("Saved %s hives for level '%s'/%s", hiveCount, world.getSaveHandler().getWorldDirectory(), world.provider.getDimensionType().getName()));
if (hiveCount > 0)
{
MDX.log().info(String.format("Saved %s hives for level '%s'/%s", hiveCount, world.getSaveHandler().getWorldDirectory(), world.provider.getDimensionType().getName()));
}

return true;
}

0 comments on commit 1f9ed1a

Please sign in to comment.