Remove debug messages, adjust sign ID mapping
This commit is contained in:
parent
f4ea3ea6f6
commit
643af43cbb
2 changed files with 1 additions and 3 deletions
|
|
@ -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();
|
||||||
|
|
|
||||||
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue