diff options
author | Josh Roy <[email protected]> | 2021-06-04 17:58:45 -0400 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-04 21:58:45 +0000 |
commit | 7d751ad8d33b85f2bb6b1cddc438b19418c01318 (patch) | |
tree | 88dcbd824921646b9b37e5b41eb172c4d41b4b13 /Spigot-Server-Patches/0655-added-Wither-API.patch | |
parent | 12716324d911c18d7f8ae481c82c0eb50d292e7b (diff) | |
download | Paper-7d751ad8d33b85f2bb6b1cddc438b19418c01318.tar.gz Paper-7d751ad8d33b85f2bb6b1cddc438b19418c01318.zip |
Fix dangerous end portal logic (#5776)
Co-authored-by: Spottedleaf <[email protected]>
Diffstat (limited to 'Spigot-Server-Patches/0655-added-Wither-API.patch')
-rw-r--r-- | Spigot-Server-Patches/0655-added-Wither-API.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0655-added-Wither-API.patch b/Spigot-Server-Patches/0655-added-Wither-API.patch index 29bb22ea9d..e4d69e8e8e 100644 --- a/Spigot-Server-Patches/0655-added-Wither-API.patch +++ b/Spigot-Server-Patches/0655-added-Wither-API.patch @@ -5,7 +5,7 @@ Subject: [PATCH] added Wither API diff --git a/src/main/java/net/minecraft/world/entity/boss/wither/EntityWither.java b/src/main/java/net/minecraft/world/entity/boss/wither/EntityWither.java -index 30290c0208a4725b2eb0e7764465c354e592e4ee..891905712903bf3ba241187791cfa995375430d5 100644 +index 30290c0208a4725b2eb0e7764465c354e592e4ee..170b085c76e092f6d7b14095c66c84fa9a96a1fc 100644 --- a/src/main/java/net/minecraft/world/entity/boss/wither/EntityWither.java +++ b/src/main/java/net/minecraft/world/entity/boss/wither/EntityWither.java @@ -82,6 +82,11 @@ public class EntityWither extends EntityMonster implements IRangedEntity { @@ -33,7 +33,7 @@ index 30290c0208a4725b2eb0e7764465c354e592e4ee..891905712903bf3ba241187791cfa995 @Override public boolean canPortal() { - return false; -+ return canPortal; // Paper ++ return super.canPortal() && canPortal; // Paper } @Override |