mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-19 08:45:16 +01:00
Clean up spout-textures.txt when spout is disabled (avoid block id conflicts)
This commit is contained in:
parent
ddf14b7c3b
commit
7da1051d5f
@ -111,6 +111,11 @@ public class DynmapPlugin extends JavaPlugin implements DynmapAPI {
|
|||||||
Log.info("Detected Spout - Support Disabled");
|
Log.info("Detected Spout - Support Disabled");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if(!has_spout) { /* If not, clean up old spout texture, if needed */
|
||||||
|
File st = new File(core.getDataFolder(), "renderdata/spout-texture.txt");
|
||||||
|
if(st.exists())
|
||||||
|
st.delete();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user