diff --git a/src/de/craftinc/gates/GatesManager.java b/src/de/craftinc/gates/GatesManager.java index b68b57b..11054be 100644 --- a/src/de/craftinc/gates/GatesManager.java +++ b/src/de/craftinc/gates/GatesManager.java @@ -260,7 +260,6 @@ public class GatesManager else { fileWriter.write(value.toString() + "\n"); } - } fileWriter.close(); diff --git a/src/de/craftinc/gates/util/LocationUtil.java b/src/de/craftinc/gates/util/LocationUtil.java index 4da522f..ec8d1c4 100644 --- a/src/de/craftinc/gates/util/LocationUtil.java +++ b/src/de/craftinc/gates/util/LocationUtil.java @@ -8,9 +8,6 @@ import org.bukkit.World; import de.craftinc.gates.Plugin; -/** - * NOTE: We do not care about yaw and pitch for gate locations. So we won't serialize them. - */ public class LocationUtil { protected final static String worldKey = "world"; @@ -36,7 +33,8 @@ public class LocationUtil /** - * Serializes a location. Helps storing locations inside yaml files. + * Serializes a location. Helps storing locations inside yaml files. NOTE: We do not care about yaw + * and pitch for gate locations. So we won't serialize them. * * @param l The location to serialize. Supplying 'null' is ok.. * @return A Map object ready for storing inside a yaml file. Will return 'null' if 'l' is null.