Fix delegate changeset logging

This commit is contained in:
Jesse Boyd 2016-12-07 15:57:40 +11:00
parent 57c908bdae
commit 3c75336c9a
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -1,9 +1,6 @@
package com.boydti.fawe.object.changeset; package com.boydti.fawe.object.changeset;
import com.boydti.fawe.object.FawePlayer;
import com.boydti.fawe.object.FaweQueue;
import com.sk89q.jnbt.CompoundTag; import com.sk89q.jnbt.CompoundTag;
import com.sk89q.worldedit.EditSession;
import com.sk89q.worldedit.Vector; import com.sk89q.worldedit.Vector;
import com.sk89q.worldedit.blocks.BaseBlock; import com.sk89q.worldedit.blocks.BaseBlock;
import com.sk89q.worldedit.extent.inventory.BlockBag; import com.sk89q.worldedit.extent.inventory.BlockBag;
@ -31,11 +28,6 @@ public class AbstractDelegateChangeSet extends FaweChangeSet {
return FaweChangeSet.getDefaultChangeSet(world, uuid); return FaweChangeSet.getDefaultChangeSet(world, uuid);
} }
@Override
public World getWorld() {
return parent.getWorld();
}
@Override @Override
public boolean flushAsync() { public boolean flushAsync() {
return parent.flushAsync(); return parent.flushAsync();
@ -101,11 +93,6 @@ public class AbstractDelegateChangeSet extends FaweChangeSet {
parent.delete(); parent.delete();
} }
@Override
public EditSession toEditSession(FawePlayer player) {
return parent.toEditSession(player);
}
@Override @Override
public void add(EntityCreate change) { public void add(EntityCreate change) {
parent.add(change); parent.add(change);
@ -140,9 +127,4 @@ public class AbstractDelegateChangeSet extends FaweChangeSet {
public void add(int x, int y, int z, int combinedFrom, BaseBlock to) { public void add(int x, int y, int z, int combinedFrom, BaseBlock to) {
parent.add(x, y, z, combinedFrom, to); parent.add(x, y, z, combinedFrom, to);
} }
@Override
public void addChangeTask(FaweQueue queue) {
parent.addChangeTask(queue);
}
} }