SPIGOT-7827: Sync EntityPortalEvent with PlayerPortalEvent since non-players can now create portals
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -19,8 +19,8 @@ public class CraftPortalEvent {
|
||||
to = portalEvent.getTo();
|
||||
searchRadius = portalEvent.getSearchRadius();
|
||||
cancelled = portalEvent.isCancelled();
|
||||
creationRadius = 0;
|
||||
canCreatePortal = false;
|
||||
creationRadius = portalEvent.getCreationRadius();
|
||||
canCreatePortal = portalEvent.getCanCreatePortal();
|
||||
}
|
||||
|
||||
public CraftPortalEvent(PlayerPortalEvent portalEvent) {
|
||||
|
||||
Reference in New Issue
Block a user