Remap CraftBukkit to Mojang+Yarn Mappings
By: Initial Source <noreply+automated@papermc.io>
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user