mirror of
https://github.com/BentoBoxWorld/Warps.git
synced 2024-11-25 03:55:25 +01:00
Changed addonName to Warps
parent
6b8edec0da
commit
137809095e
@ -18,7 +18,7 @@ This is especially useful for plugins, whose access to addon's classes is restri
|
||||
*/
|
||||
public List<UUID> getSortedWarps(String worldName) {
|
||||
return (List<UUID>) new AddonRequestBuilder()
|
||||
.addon("WelcomeWarps")
|
||||
.addon("Warps")
|
||||
.label("getSortedWarps")
|
||||
.addMetaData("world", worldName)
|
||||
.request();
|
||||
@ -42,7 +42,7 @@ Possible values returned:
|
||||
*/
|
||||
public Location getWarp(UUID playerUUID, String worldName) {
|
||||
return (Location) new AddonRequestBuilder()
|
||||
.addon("WelcomeWarps")
|
||||
.addon("Warps")
|
||||
.label("getWarp")
|
||||
.addMetaData("world", worldName)
|
||||
.addMetaData("uuid", playerUUID)
|
||||
@ -64,7 +64,7 @@ Possible values returned:
|
||||
*/
|
||||
public Map<UUID, Location> getWarpMap(String worldName) {
|
||||
return (Map<UUID, Location>) new AddonRequestBuilder()
|
||||
.addon("WelcomeWarps")
|
||||
.addon("Warps")
|
||||
.label("getWarpMap")
|
||||
.addMetaData("world", worldName)
|
||||
.request();
|
||||
@ -88,7 +88,7 @@ Possible values returned:
|
||||
*/
|
||||
public boolean hasWarp(UUID playerUUID, String worldName) {
|
||||
return (boolean) new AddonRequestBuilder()
|
||||
.addon("WelcomeWarps")
|
||||
.addon("Warps")
|
||||
.label("hasWarp")
|
||||
.addMetaData("world", worldName)
|
||||
.addMetaData("uuid", playerUUID)
|
||||
@ -112,7 +112,7 @@ Possible values returned:
|
||||
*/
|
||||
public Set<UUID> listWarps(String worldName) {
|
||||
return (Set<UUID>) new AddonRequestBuilder()
|
||||
.addon("WelcomeWarps")
|
||||
.addon("Warps")
|
||||
.label("listWarps")
|
||||
.addMetaData("world", worldName)
|
||||
.request();
|
||||
|
Loading…
Reference in New Issue
Block a user