Fix forge chunk 1.7.10 set
This commit is contained in:
parent
8a50c27ebc
commit
a84348f478
@ -21,9 +21,9 @@ import java.net.MalformedURLException;
|
|||||||
import java.net.URISyntaxException;
|
import java.net.URISyntaxException;
|
||||||
import java.net.URL;
|
import java.net.URL;
|
||||||
import java.nio.file.Path;
|
import java.nio.file.Path;
|
||||||
import java.util.ArrayList;
|
import java.util.Collection;
|
||||||
import java.util.List;
|
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
import java.util.concurrent.ConcurrentLinkedQueue;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
import javax.net.ssl.HttpsURLConnection;
|
import javax.net.ssl.HttpsURLConnection;
|
||||||
|
|
||||||
@ -59,7 +59,7 @@ public class BStats implements Closeable {
|
|||||||
private boolean logFailedRequests = false;
|
private boolean logFailedRequests = false;
|
||||||
|
|
||||||
// A list with all known metrics class objects including this one
|
// A list with all known metrics class objects including this one
|
||||||
private static final List<Object> knownMetricsInstances = new ArrayList<>();
|
private static final Collection<Object> knownMetricsInstances = new ConcurrentLinkedQueue<>();
|
||||||
|
|
||||||
public BStats() {
|
public BStats() {
|
||||||
this("FastAsyncWorldEdit", Fawe.get().getVersion().toString(), Fawe.imp().getPlatformVersion(), Fawe.imp().getPlatform(), Fawe.imp().isOnlineMode());
|
this("FastAsyncWorldEdit", Fawe.get().getVersion().toString(), Fawe.imp().getPlatformVersion(), Fawe.imp().getPlatform(), Fawe.imp().isOnlineMode());
|
||||||
|
@ -84,6 +84,11 @@ public class ForgeChunk_All extends CharFaweChunk<Chunk, ForgeQueue_All> {
|
|||||||
return extended[i];
|
return extended[i];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void setBlock(int x, int y, int z, int id) {
|
||||||
|
setBlock(x, y, z, id, 0);
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void setBlock(int x, int y, int z, int id, int data) {
|
public void setBlock(int x, int y, int z, int id, int data) {
|
||||||
int i = FaweCache.CACHE_I[y][z][x];
|
int i = FaweCache.CACHE_I[y][z][x];
|
||||||
@ -137,7 +142,6 @@ public class ForgeChunk_All extends CharFaweChunk<Chunk, ForgeQueue_All> {
|
|||||||
}
|
}
|
||||||
nibble.set(x, y & 15, z, id >> 8);
|
nibble.set(x, y & 15, z, id >> 8);
|
||||||
}
|
}
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user