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

eca310cf8f16240fabc0259f4f615cfa2d37909a

Co-Authored-By: Matthew Miller <mnmiller1@me.com>
Dieser Commit ist enthalten in:
N0tMyFaultOG 2020-11-13 22:42:03 +01:00
Ursprung 6cd28a87d4
Commit 60f3224318

Datei anzeigen

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