Deprecate the non-Pattern methods in EditSession and fix a recursion loop

eca310cf8f16240fabc0259f4f615cfa2d37909a

Co-Authored-By: Matthew Miller <mnmiller1@me.com>
This commit is contained in:
N0tMyFaultOG 2020-11-13 22:42:03 +01:00
parent 6cd28a87d4
commit 60f3224318

View File

@ -1326,7 +1326,7 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
*/
@Deprecated
public <B extends BlockStateHolder<B>> int makeCuboidFaces(Region region, B block) throws MaxChangedBlocksException {
return makeCuboidFaces(region, block);
return makeCuboidFaces(region, (Pattern) block);
}
/**