mirror of
https://github.com/webbukkit/dynmap.git
synced 2024-11-28 13:15:30 +01:00
Have spout code handle renderdata not being defined yet
This commit is contained in:
parent
d8ccc26109
commit
336f8302c4
@ -228,7 +228,10 @@ public class SpoutPluginBlocks {
|
|||||||
}
|
}
|
||||||
String rslt = sb.toString();
|
String rslt = sb.toString();
|
||||||
/* Now, generate spout texture file - see if changed */
|
/* Now, generate spout texture file - see if changed */
|
||||||
File st = new File(datadir, "renderdata/spout-texture.txt");
|
File renderdata = new File(datadir, "renderdata");
|
||||||
|
if (renderdata.exists() == false)
|
||||||
|
renderdata.mkdirs();
|
||||||
|
File st = new File(renderdata, "spout-texture.txt");
|
||||||
if(st.exists()) {
|
if(st.exists()) {
|
||||||
FileReader fr = null;
|
FileReader fr = null;
|
||||||
StringBuilder sbold = new StringBuilder();
|
StringBuilder sbold = new StringBuilder();
|
||||||
|
Loading…
Reference in New Issue
Block a user