mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
remove debug
This commit is contained in:
parent
7c174beaee
commit
d603f45063
@ -168,7 +168,6 @@ public class BukkitPlayer extends AbstractPlayerActor {
|
||||
Extent extent = loc.getExtent();
|
||||
if (extent instanceof World) {
|
||||
org.bukkit.World world = Bukkit.getWorld(((World) extent).getName());
|
||||
// System.out.println("Teleport to world " + world);
|
||||
player.teleport(new Location(world, pos.getX(), pos.getY(),
|
||||
pos.getZ(), yaw, pitch));
|
||||
}
|
||||
|
@ -46,7 +46,6 @@ public abstract class ChunkHolder implements IChunk, Supplier<IGetBlocks> {
|
||||
if (region != null) {
|
||||
switch (region.getChunkBounds(X, Z, min, max)) {
|
||||
case NONE:
|
||||
System.out.println("NONE");
|
||||
return;
|
||||
case FULL:
|
||||
if (min.getY() == 0 && max.getY() == 255) {
|
||||
@ -58,9 +57,8 @@ public abstract class ChunkHolder implements IChunk, Supplier<IGetBlocks> {
|
||||
default: {
|
||||
int minLayer = min.getY() >> 4;
|
||||
int maxLayer = max.getY() >> 4;
|
||||
System.out.println("Layers " + minLayer + " | " + maxLayer);
|
||||
block = block.init(X, Z, get);
|
||||
for (int layer = minLayer; layer < maxLayer; layer++) {
|
||||
for (int layer = minLayer; layer <= maxLayer; layer++) {
|
||||
if (!get.hasSection(layer) || !filter.appliesLayer(this, layer)) continue;
|
||||
block.filter(get, set, layer, filter, region, min, max);
|
||||
}
|
||||
|
@ -14,7 +14,6 @@ public final class BitArray4096 {
|
||||
maxEntryValue = (1 << bitsPerEntry) - 1;
|
||||
this.longLen = (this.bitsPerEntry * 4096) >> 6;
|
||||
if (buffer.length < longLen) {
|
||||
System.out.println("Invalid buffer " + buffer.length + " | " + longLen);
|
||||
this.data = new long[longLen];
|
||||
} else {
|
||||
this.data = buffer;
|
||||
|
@ -2490,7 +2490,6 @@ public class EditSession extends AbstractDelegateExtent implements HasFaweQueue,
|
||||
* @throws MaxChangedBlocksException thrown if too many blocks are changed
|
||||
*/
|
||||
public int makeSphere(final BlockVector3 pos, final Pattern block, double radiusX, double radiusY, double radiusZ, final boolean filled) {
|
||||
System.out.println("Make sphere");
|
||||
radiusX += 0.5;
|
||||
radiusY += 0.5;
|
||||
radiusZ += 0.5;
|
||||
|
@ -635,7 +635,7 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion {
|
||||
int maxChunkX = maxX >> 4;
|
||||
if (maxChunkX >= X) {
|
||||
int minChunkZ = minZ >> 4;
|
||||
if (minChunkZ <= X) {
|
||||
if (minChunkZ <= Z) {
|
||||
int maxChunkZ = maxZ >> 4;
|
||||
if (maxChunkZ >= Z) {
|
||||
int cx1 = X << 4;
|
||||
|
Loading…
Reference in New Issue
Block a user