mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-08 03:29:43 +01:00
Remove debug messages, adjust sign ID mapping
This commit is contained in:
parent
36d983ba28
commit
2f7890a40b
@ -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…
Reference in New Issue
Block a user