Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-26 02:50:06 +01:00
Remove debug
Dieser Commit ist enthalten in:
Ursprung
2e6f46e451
Commit
032942c0e8
@ -327,17 +327,6 @@ public interface Clipboard extends Extent, Iterable<BlockVector3>, Closeable {
|
|||||||
final int rely = to.getBlockY() - origin.getBlockY();
|
final int rely = to.getBlockY() - origin.getBlockY();
|
||||||
final int relz = to.getBlockZ() - origin.getBlockZ();
|
final int relz = to.getBlockZ() - origin.getBlockZ();
|
||||||
|
|
||||||
// this.apply(this, new Filter() {
|
|
||||||
// @Override
|
|
||||||
// public void applyBlock(FilterBlock block) {
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
// });
|
|
||||||
|
|
||||||
System.out.println("Rel " + relx + "," + rely + "," + relz + " | " + to + " | " + origin);
|
|
||||||
|
|
||||||
System.out.println("TODO optimize paste using above apply");
|
|
||||||
|
|
||||||
Operation visitor = new RegionVisitor(region, new RegionFunction() {
|
Operation visitor = new RegionVisitor(region, new RegionFunction() {
|
||||||
// MutableBlockVector2 mpos2d_2 = new MutableBlockVector2();
|
// MutableBlockVector2 mpos2d_2 = new MutableBlockVector2();
|
||||||
MutableBlockVector2 mpos2d = new MutableBlockVector2();
|
MutableBlockVector2 mpos2d = new MutableBlockVector2();
|
||||||
@ -349,7 +338,6 @@ public interface Clipboard extends Extent, Iterable<BlockVector3>, Closeable {
|
|||||||
@Override
|
@Override
|
||||||
public boolean apply(BlockVector3 mutable) throws WorldEditException {
|
public boolean apply(BlockVector3 mutable) throws WorldEditException {
|
||||||
BlockState block = getBlock(mutable);
|
BlockState block = getBlock(mutable);
|
||||||
System.out.println("Pos " + mutable);
|
|
||||||
int xx = mutable.getBlockX() + relx;
|
int xx = mutable.getBlockX() + relx;
|
||||||
int zz = mutable.getBlockZ() + relz;
|
int zz = mutable.getBlockZ() + relz;
|
||||||
if (copyBiomes && xx != mpos2d.getBlockX() && zz != mpos2d.getBlockZ()) {
|
if (copyBiomes && xx != mpos2d.getBlockX() && zz != mpos2d.getBlockZ()) {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren