fix entity undo

This commit is contained in:
wea_ondara
2020-07-26 15:52:51 +02:00
parent 05ef46994e
commit 50971ee311
8 changed files with 65 additions and 50 deletions

View File

@ -46,6 +46,7 @@ import com.sk89q.worldedit.world.block.BlockState;
import com.sk89q.worldedit.world.block.BlockStateHolder;
import java.util.List;
import java.util.UUID;
import javax.annotation.Nullable;
import org.jetbrains.annotations.Range;
@ -155,6 +156,11 @@ public class AbstractDelegateExtent implements Extent {
return extent.createEntity(location, entity);
}
@Override
public void removeEntity(int x, int y, int z, UUID uuid) {
extent.removeEntity(x, y, z, uuid);
}
@Override
public List<? extends Entity> getEntities() {
return extent.getEntities();