Remove debug messages, adjust sign ID mapping

This commit is contained in:
Mike Primm 2011-09-05 18:47:27 -05:00
parent 25f7dbb312
commit 34ae7d21fd
2 changed files with 1 additions and 3 deletions

View File

@ -369,7 +369,6 @@ public class MarkerAPIImpl implements MarkerAPI, Event.Listener<DynmapWorld> {
* @param update - type of update * @param update - type of update
*/ */
static void markerUpdated(MarkerImpl marker, MarkerUpdate update) { static void markerUpdated(MarkerImpl marker, MarkerUpdate update) {
Log.info("markerUpdated(" + marker.getMarkerID() + "," + update + ")");
/* Freshen marker file for the world for this marker */ /* Freshen marker file for the world for this marker */
if(api != null) if(api != null)
api.writeMarkersFile(marker.getWorld()); api.writeMarkersFile(marker.getWorld());
@ -383,7 +382,6 @@ public class MarkerAPIImpl implements MarkerAPI, Event.Listener<DynmapWorld> {
* @param update - type of update * @param update - type of update
*/ */
static void markerSetUpdated(MarkerSetImpl markerset, MarkerUpdate update) { static void markerSetUpdated(MarkerSetImpl markerset, MarkerUpdate update) {
Log.info("markerSetUpdated(" + markerset.getMarkerSetID() + "," + update + ")");
/* Freshen all marker files */ /* Freshen all marker files */
if(api != null) if(api != null)
api.freshenMarkerFiles(); api.freshenMarkerFiles();

View File

@ -123,6 +123,6 @@ public class MarkerSignManager {
} }
private static String getSignMarkerID(Location loc) { private static String getSignMarkerID(Location loc) {
return "$sign-" + loc.getWorld().getName() + "/" + loc.getBlockX() + "/" + loc.getBlockY() + "/" + loc.getBlockZ(); return "_sign_" + loc.getWorld().getName() + "_" + loc.getBlockX() + "_" + loc.getBlockY() + "_" + loc.getBlockZ();
} }
} }