Fix butcher/copy entities etc.

This commit is contained in:
Jesse Boyd 2018-01-23 17:07:46 +11:00
parent 724bf55f13
commit ea63c77d7e
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -26,11 +26,13 @@ import java.util.Map;
public class FastWorldEditExtent extends AbstractDelegateExtent implements HasFaweQueue {
private final World world;
private FaweQueue queue;
private final int maxY;
public FastWorldEditExtent(final World world, FaweQueue queue) {
super(queue);
this.world = world;
this.queue = queue;
this.maxY = world.getMaxY();
}
@ -129,12 +131,12 @@ public class FastWorldEditExtent extends AbstractDelegateExtent implements HasFa
@Override
public List<? extends Entity> getEntities() {
return super.getEntities();
return world.getEntities();
}
@Override
public List<? extends Entity> getEntities(final Region region) {
return super.getEntities(region);
return world.getEntities(region);
}
@Override