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

@ -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();
}
}