This commit is contained in:
Jake Potrebic
2024-06-13 18:30:23 -07:00
parent 4ff15b38e5
commit a0f4d303eb
141 changed files with 180 additions and 322 deletions

View File

@ -37,7 +37,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ private static final HandlerList HANDLER_LIST = new HandlerList();
+
+ private final PortalType portalType;
+ private World targetWorld;
+ private final World targetWorld;
+
+ private boolean cancelled;
+
@ -71,9 +71,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ * or {@link EntityPortalEvent}.
+ *
+ * @param targetWorld the world
+ * @deprecated changing the target world has no effect
+ */
+ @Deprecated(forRemoval = true, since = "1.21")
+ public void setTargetWorld(final @Nullable World targetWorld) {
+ this.targetWorld = targetWorld;
+ // this.targetWorld = targetWorld;
+ }
+
+ /**