mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-25 03:35:18 +01:00
Remove debug messages, adjust sign ID mapping
This commit is contained in:
parent
25f7dbb312
commit
34ae7d21fd
@ -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