Remap CraftBukkit to Mojang+Yarn Mappings

By: Initial Source <noreply+automated@papermc.io>
This commit is contained in:
CraftBukkit/Spigot
2024-12-11 22:26:55 +01:00
parent a265d64138
commit 30e4583dbe
1780 changed files with 44628 additions and 41274 deletions

View File

@@ -16,38 +16,38 @@ public class CraftPortalEvent {
private final boolean cancelled;
public CraftPortalEvent(EntityPortalEvent portalEvent) {
to = portalEvent.getTo();
searchRadius = portalEvent.getSearchRadius();
cancelled = portalEvent.isCancelled();
creationRadius = portalEvent.getCreationRadius();
canCreatePortal = portalEvent.getCanCreatePortal();
this.to = portalEvent.getTo();
this.searchRadius = portalEvent.getSearchRadius();
this.cancelled = portalEvent.isCancelled();
this.creationRadius = portalEvent.getCreationRadius();
this.canCreatePortal = portalEvent.getCanCreatePortal();
}
public CraftPortalEvent(PlayerPortalEvent portalEvent) {
to = portalEvent.getTo();
searchRadius = portalEvent.getSearchRadius();
creationRadius = portalEvent.getCreationRadius();
canCreatePortal = portalEvent.getCanCreatePortal();
cancelled = portalEvent.isCancelled();
this.to = portalEvent.getTo();
this.searchRadius = portalEvent.getSearchRadius();
this.creationRadius = portalEvent.getCreationRadius();
this.canCreatePortal = portalEvent.getCanCreatePortal();
this.cancelled = portalEvent.isCancelled();
}
public Location getTo() {
return to;
return this.to;
}
public int getSearchRadius() {
return searchRadius;
return this.searchRadius;
}
public int getCreationRadius() {
return creationRadius;
return this.creationRadius;
}
public boolean getCanCreatePortal() {
return canCreatePortal;
return this.canCreatePortal;
}
public boolean isCancelled() {
return cancelled;
return this.cancelled;
}
}