mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-15 12:13:54 -07:00
#538: Un-deprecate now implemented player portal event api
By: Phoenix616 <max@themoep.de>
This commit is contained in:
@@ -38,9 +38,7 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
|||||||
*
|
*
|
||||||
* @param searchRadius the radius in which to search for a portal from the
|
* @param searchRadius the radius in which to search for a portal from the
|
||||||
* location
|
* location
|
||||||
* @deprecated not currently functional
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public void setSearchRadius(int searchRadius) {
|
public void setSearchRadius(int searchRadius) {
|
||||||
this.getSearchRadius = searchRadius;
|
this.getSearchRadius = searchRadius;
|
||||||
}
|
}
|
||||||
@@ -70,9 +68,7 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
|||||||
*
|
*
|
||||||
* @param canCreatePortal Sets whether there should be a destination portal
|
* @param canCreatePortal Sets whether there should be a destination portal
|
||||||
* created
|
* created
|
||||||
* @deprecated not currently functional
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public void setCanCreatePortal(boolean canCreatePortal) {
|
public void setCanCreatePortal(boolean canCreatePortal) {
|
||||||
this.canCreatePortal = 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
|
* @param creationRadius the radius in which to create a portal from the
|
||||||
* location
|
* location
|
||||||
* @deprecated not currently functional
|
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public void setCreationRadius(int creationRadius) {
|
public void setCreationRadius(int creationRadius) {
|
||||||
this.creationRadius = creationRadius;
|
this.creationRadius = creationRadius;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user