mirror of
https://github.com/BentoBoxWorld/Warps.git
synced 2024-11-25 03:55:25 +01:00
Changed variables of methods using UUID playerUUID instead of String playerUUID
parent
137809095e
commit
9213fc1192
@ -40,7 +40,7 @@ Possible values returned:
|
|||||||
* @return a Location that represents warp sign location,
|
* @return a Location that represents warp sign location,
|
||||||
* or null if one is not found.
|
* or null if one is not found.
|
||||||
*/
|
*/
|
||||||
public Location getWarp(UUID playerUUID, String worldName) {
|
public Location getWarp(String playerUUID, String worldName) {
|
||||||
return (Location) new AddonRequestBuilder()
|
return (Location) new AddonRequestBuilder()
|
||||||
.addon("Warps")
|
.addon("Warps")
|
||||||
.label("getWarp")
|
.label("getWarp")
|
||||||
@ -86,7 +86,7 @@ Possible values returned:
|
|||||||
* @return {@code true} if player has a warp sign in given world,
|
* @return {@code true} if player has a warp sign in given world,
|
||||||
* otherwise {@code false}.
|
* otherwise {@code false}.
|
||||||
*/
|
*/
|
||||||
public boolean hasWarp(UUID playerUUID, String worldName) {
|
public boolean hasWarp(String playerUUID, String worldName) {
|
||||||
return (boolean) new AddonRequestBuilder()
|
return (boolean) new AddonRequestBuilder()
|
||||||
.addon("Warps")
|
.addon("Warps")
|
||||||
.label("hasWarp")
|
.label("hasWarp")
|
||||||
|
Loading…
Reference in New Issue
Block a user