Added temporary debug prints to copyfile

Added temporary debug prints to copyfile
This commit is contained in:
SenseiKiwi
2013-06-20 03:31:40 -04:00
parent 490a4d45fc
commit 58b72b3b5a

View File

@@ -12,6 +12,9 @@ public class copyfile
{ {
try try
{ {
System.out.println("DIMDOORS COPYING FILE TIME");
System.out.println("src: " + ori);
System.out.println("dest: " + dest);
InputStream in = (mod_pocketDim.class.getClass().getResourceAsStream(ori)); InputStream in = (mod_pocketDim.class.getClass().getResourceAsStream(ori));
OutputStream out = new FileOutputStream(dest); OutputStream out = new FileOutputStream(dest);
byte[] buf = new byte[1024]; byte[] buf = new byte[1024];
@@ -24,6 +27,7 @@ public class copyfile
} }
catch(Exception e) catch(Exception e)
{ {
e.printStackTrace();
return false; return false;
} }
return true; return true;