Fixed a bug in update_patches that caused apostrphies to be removed. Causing the last patch to be generated incorrectly.

This commit is contained in:
LexManos committed 2012-02-24 10:47:25 -08:00
1 parent d2c7a856c1
commit 964b33f2c7
6 files changed
+6 -6

No files matched your search

@@ -24,7 +24,7 @@
+
+ /**
+ * Retrieves the current associated network handler.
+ * Added so modders dont have to use reflection.
+ * Added so modders don't have to use reflection.
+ * @return The current registered Network Handler
+ */
+ public NetHandler getNetHandler()
@@ -127,7 +127,7 @@
+ worldTickTimes.put(id, new long[100]);
}
char c = \304;
char c = '\304';
long l1 = System.currentTimeMillis();
- for (int k = 0; k < 1; k++)
+ for (Integer id : DimensionManager.getIDs())
@@ -26,7 +26,7 @@
+
+ /**
+ * Retrieves the current associated network handler.
+ * Added so modders dont have to use reflection.
+ * Added so modders don't have to use reflection.
+ * @return The current registered Network Handler
+ */
+ public NetHandler getNetHandler()
@@ -40,7 +40,7 @@
+ /**
+ * Returns the sub-folder of the world folder that this WorldProvider saves to.
+ * EXA: DIM1, DIM-1
+ * @return The sub-folder name to save this worlds chunks to.
+ * @return The sub-folder name to save this world's chunks to.
+ */
+ public abstract String getSaveFolder();
+
+1 -1
View File
@@ -17,7 +17,7 @@ for /f %%i in ('find ../src_work -type f') do (
rem echo !file!
if "!file:~-1!" NEQ "#" (
if "!file:~-1!" NEQ "~" (
diff -u ../src_base!file! ../src_work!file! -r --strip-trailing-cr --new-file | sed -e "1,2s/[0-9-]* [0-9:\.]* [+-][0-9]*\b/0000-00-00 00:00:00.000000000 -0000/" | tr -d '\r' > patches!file!.patch
diff -u ../src_base!file! ../src_work!file! -r --strip-trailing-cr --new-file | sed -e "1,2s/[0-9-]* [0-9:\.]* [+-][0-9]*\b/0000-00-00 00:00:00.000000000 -0000/" | tr -d \r > patches!file!.patch
)
)
)
+1 -1
View File
@@ -14,7 +14,7 @@ cd src_work
for i in `find ../src_work -type f`
do
ibase=${i##../src_work}
diff -u ../src_base$ibase $i -r --strip-trailing-cr --new-file | sed -e "1,2s/[0-9-]* [0-9:\.]* [+-][0-9]*\b/0000-00-00 00:00:00.000000000 -0000/" | tr -d '\r' > $fdir/patches$ibase.patch
diff -u ../src_base$ibase $i -r --strip-trailing-cr --new-file | sed -e "1,2s/[0-9-]* [0-9:\.]* [+-][0-9]*\b/0000-00-00 00:00:00.000000000 -0000/" | tr -d \r > $fdir/patches$ibase.patch
done
cd ..