don't fail silently in the future

This commit is contained in:
Leijurv 2018-11-07 17:18:43 -08:00
parent 842e50adb9
commit 40da7b3734
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -53,7 +53,7 @@ public interface IPath {
* (as opposed to Path objects that are just constructed every frame for rendering) * (as opposed to Path objects that are just constructed every frame for rendering)
*/ */
default IPath postProcess() { default IPath postProcess() {
return this; throw new UnsupportedOperationException();
} }
/** /**
@ -121,7 +121,7 @@ public interface IPath {
* @return The result of this cut-off operation * @return The result of this cut-off operation
*/ */
default IPath cutoffAtLoadedChunks() { default IPath cutoffAtLoadedChunks() {
return this; throw new UnsupportedOperationException();
} }
/** /**
@ -133,7 +133,7 @@ public interface IPath {
* @see Settings#pathCutoffFactor * @see Settings#pathCutoffFactor
*/ */
default IPath staticCutoff(Goal destination) { default IPath staticCutoff(Goal destination) {
return this; throw new UnsupportedOperationException();
} }