Update Wither#canTravelThroughPortals

This commit is contained in:
Bjarne Koll 2024-06-16 18:04:11 +02:00
parent d04e9fafa4
commit 07e821664d

View File

@ -1393,7 +1393,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+
+ @Override
+ public boolean canTravelThroughPortals() {
+ return getHandle().canChangeDimensions(null, null); // Only used by the enderpearl... right now
+ return getHandle().canUsePortal(false);
+ }
+
+ @Override