Fix dangerous end portal logic (#5776)
Co-authored-by: Spottedleaf <Spottedleaf@users.noreply.github.com>
This commit is contained in:
@@ -33,7 +33,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
@Override
|
||||
public boolean canPortal() {
|
||||
- return false;
|
||||
+ return canPortal; // Paper
|
||||
+ return super.canPortal() && canPortal; // Paper
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user