From 441cad2754379c90abf791c360403612acb88fb1 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Fri, 14 Aug 2020 08:26:34 +1000 Subject: [PATCH] #538: Un-deprecate now implemented player portal event api By: Phoenix616 --- .../java/org/bukkit/event/player/PlayerPortalEvent.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java index b4efd87ca7..a6f91166a3 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java @@ -38,9 +38,7 @@ public class PlayerPortalEvent extends PlayerTeleportEvent { * * @param searchRadius the radius in which to search for a portal from the * location - * @deprecated not currently functional */ - @Deprecated public void setSearchRadius(int searchRadius) { this.getSearchRadius = searchRadius; } @@ -70,9 +68,7 @@ public class PlayerPortalEvent extends PlayerTeleportEvent { * * @param canCreatePortal Sets whether there should be a destination portal * created - * @deprecated not currently functional */ - @Deprecated public void setCanCreatePortal(boolean canCreatePortal) { this.canCreatePortal = canCreatePortal; } @@ -89,9 +85,7 @@ public class PlayerPortalEvent extends PlayerTeleportEvent { * * @param creationRadius the radius in which to create a portal from the * location - * @deprecated not currently functional */ - @Deprecated public void setCreationRadius(int creationRadius) { this.creationRadius = creationRadius; }