diff --git a/Addon-Request.md b/Addon-Request.md index fe92455..df942d0 100644 --- a/Addon-Request.md +++ b/Addon-Request.md @@ -18,7 +18,7 @@ This is especially useful for plugins, whose access to addon's classes is restri */ public List getSortedWarps(String worldName) { return (List) 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 getWarpMap(String worldName) { return (Map) 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 listWarps(String worldName) { return (Set) new AddonRequestBuilder() - .addon("WelcomeWarps") + .addon("Warps") .label("listWarps") .addMetaData("world", worldName) .request();