Fix dangerous end portal logic (#5776)

Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
This commit is contained in:
Josh Roy
2021-06-04 17:58:45 -04:00
parent d963592869
commit 612f3e137a
2 changed files with 100 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
@Override
public boolean canPortal() {
- return false;
+ return canPortal; // Paper
+ return super.canPortal() && canPortal; // Paper
}
@Override