--- a/net/minecraft/block/PortalSize.java
+++ b/net/minecraft/block/PortalSize.java
@@ -16,7 +16,7 @@
 
 public class PortalSize {
    private static final AbstractBlock.IPositionPredicate field_242962_a = (p_242966_0_, p_242966_1_, p_242966_2_) -> {
-      return p_242966_0_.func_203425_a(Blocks.field_150343_Z);
+      return p_242966_0_.isPortalFrame(p_242966_1_, p_242966_2_);
    };
    private final IWorld field_150867_a;
    private final Direction.Axis field_150865_b;
