forked from SteamWar/SteamWar
Update pr stuff
This commit is contained in:
@@ -70,7 +70,6 @@ public class TraceManager implements Listener {
|
||||
traceFiles = new File[0];
|
||||
}
|
||||
|
||||
// TODO: Cleanup all traces if a .meta is present!
|
||||
for (File traceFile : traceFiles) {
|
||||
Trace trace = TraceRepository.readTrace(traceFile);
|
||||
if (trace == null) {
|
||||
|
||||
+6
-6
@@ -18,12 +18,12 @@ public class TraceRepository {
|
||||
* Increment this when changing serialisation format
|
||||
*/
|
||||
public static final int SERIALISATION_VERSION = 2;
|
||||
public static final int WRITE_TICK_DATA = 0x01;
|
||||
public static final int EXPLOSION = 0x02;
|
||||
public static final int IN_WATER = 0x04;
|
||||
public static final int AFTER_FIRST_EXPLOSION = 0x08;
|
||||
public static final int DESTROYED_BUILD_AREA = 0x10;
|
||||
public static final int DESTROYED_TEST_BLOCK = 0x20;
|
||||
public static final int WRITE_TICK_DATA = 0b00000001;
|
||||
public static final int EXPLOSION = 0b00000010;
|
||||
public static final int IN_WATER = 0b00000100;
|
||||
public static final int AFTER_FIRST_EXPLOSION = 0b00001000;
|
||||
public static final int DESTROYED_BUILD_AREA = 0b00010000;
|
||||
public static final int DESTROYED_TEST_BLOCK = 0b00100000;
|
||||
public static File tracesFolder = new File(Bukkit.getWorlds().get(0).getWorldFolder(), "traces");
|
||||
|
||||
@SneakyThrows
|
||||
|
||||
Reference in New Issue
Block a user