Pass the exception converter through more.

This commit is contained in:
Matthew Miller
2018-12-21 17:31:27 +10:00
committed by IronApollo
parent 9c3964d330
commit d80ac24c63
13 changed files with 67 additions and 6 deletions

View File

@ -2286,4 +2286,10 @@ public class HeightMapMCAGenerator extends MCAWriter implements StreamChange, Dr
// TODO Auto-generated method stub
return false;
}
@Override
public BlockVector3 getSpawnPosition() {
// TODO Auto-generated method stub
return null;
}
}

View File

@ -127,4 +127,9 @@ public class MCAWorld implements SimpleWorld {
// TODO Auto-generated method stub
return false;
}
@Override
public BlockVector3 getSpawnPosition() {
return queue.getWEWorld().getSpawnPosition();
}
}

View File

@ -163,5 +163,10 @@ public class HistoryExtent extends AbstractDelegateExtent {
public <T> T getFacet(final Class<? extends T> cls) {
return this.entity.getFacet(cls);
}
@Override
public boolean setLocation(Location location) {
return this.entity.setLocation(location);
}
}
}

View File

@ -161,5 +161,11 @@ public abstract class FaweClipboard {
public Extent getExtent() {
return world;
}
@Override
public boolean setLocation(Location location) {
//Should not be teleporting this entity
return false;
}
}
}

View File

@ -640,4 +640,10 @@ public class SchemVis extends ImmutableVirtualWorld {
// TODO Auto-generated method stub
return false;
}
@Override
public BlockVector3 getSpawnPosition() {
// TODO Auto-generated method stub
return null;
}
}

View File

@ -304,4 +304,10 @@ public class FakePlayer extends AbstractPlayerActor {
return true;
}
}
@Override
public boolean setLocation(Location location) {
this.pos = location;
return true;
}
}

View File

@ -420,4 +420,9 @@ public class PlayerWrapper extends AbstractPlayerActor {
public File openFileSaveDialog(String[] extensions) {
return parent.openFileSaveDialog(extensions);
}
@Override
public boolean setLocation(Location location) {
return parent.setLocation(location);
}
}

View File

@ -259,4 +259,9 @@ public class WorldWrapper extends AbstractWorld {
public boolean notifyAndLightBlock(BlockVector3 position, BlockState previousType) throws WorldEditException {
return parent.notifyAndLightBlock(position, previousType);
}
@Override
public BlockVector3 getSpawnPosition() {
return parent.getSpawnPosition();
}
}