Skip to content

Commit

Permalink
added missing static's
Browse files Browse the repository at this point in the history
  • Loading branch information
weaondara committed Aug 23, 2019
1 parent 5fa8900 commit 9199ba2
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/main/java/net/alpenblock/bungeeperms/BungeePermsAPI.java
Expand Up @@ -381,7 +381,7 @@ else if (world == null)
* @param world the world; may be null
* @return true if the permission has been added successfully
*/
public boolean userAdd(String nameoruuid, String permission, String server, String world)
public static boolean userAdd(String nameoruuid, String permission, String server, String world)
{
server = server(server);
world = world(server, world);
Expand All @@ -408,7 +408,7 @@ else if (world == null)
* @param world the world; may be null
* @return true if the permission has been removed successfully
*/
public boolean userRemove(String nameoruuid, String permission, String server, String world)
public static boolean userRemove(String nameoruuid, String permission, String server, String world)
{
server = server(server);
world = world(server, world);
Expand Down Expand Up @@ -437,7 +437,7 @@ else if (world == null)
* @param dur the duration in seconds the permission is active
* @return true if the permission has been added successfully
*/
public boolean userTimedAdd(String nameoruuid, String permission, String server, String world, Date start, int dur)
public static boolean userTimedAdd(String nameoruuid, String permission, String server, String world, Date start, int dur)
{
return false;
}
Expand All @@ -451,7 +451,7 @@ public boolean userTimedAdd(String nameoruuid, String permission, String server,
* @param world the world; may be null
* @return true if the permission has been removed successfully
*/
public boolean userTimedRemove(String nameoruuid, String permission, String server, String world)
public static boolean userTimedRemove(String nameoruuid, String permission, String server, String world)
{
return false;
}
Expand All @@ -463,7 +463,7 @@ public boolean userTimedRemove(String nameoruuid, String permission, String serv
* @param group the group
* @return true if the group has been added successfully
*/
public boolean userAddGroup(String nameoruuid, String group)
public static boolean userAddGroup(String nameoruuid, String group)
{
User u = BungeePerms.getInstance().getPermissionsManager().getUser(nameoruuid);
if (u == null)
Expand All @@ -487,7 +487,7 @@ public boolean userAddGroup(String nameoruuid, String group)
* @param group the group
* @return true if the group has been removed successfully
*/
public boolean userRemoveGroup(String nameoruuid, String group)
public static boolean userRemoveGroup(String nameoruuid, String group)
{
User u = BungeePerms.getInstance().getPermissionsManager().getUser(nameoruuid);
if (u == null)
Expand All @@ -513,7 +513,7 @@ public boolean userRemoveGroup(String nameoruuid, String group)
* @param dur the duration in seconds the group is active
* @return true if the group has been added successfully
*/
public boolean userAddTimedGroup(String nameoruuid, String group, Date start, int dur)
public static boolean userAddTimedGroup(String nameoruuid, String group, Date start, int dur)
{
return false;
}
Expand All @@ -525,7 +525,7 @@ public boolean userAddTimedGroup(String nameoruuid, String group, Date start, in
* @param group the group
* @return true if the group has been removed successfully
*/
public boolean userRemoveTimedGroup(String nameoruuid, String group)
public static boolean userRemoveTimedGroup(String nameoruuid, String group)
{
return false;
}
Expand Down

0 comments on commit 9199ba2

Please sign in to comment.