mirror of
https://github.com/garbagemule/MobArena.git
synced 2024-11-23 02:55:46 +01:00
Remove obsolete class permission method in ArenaClass.
Following the removal of class permission commands in a88556771f
, this method is now obsolete.
This commit is contained in:
parent
cf82a3a612
commit
691b608466
@ -12,7 +12,6 @@ import org.bukkit.inventory.ItemStack;
|
||||
import org.bukkit.inventory.PlayerInventory;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Collections;
|
||||
import java.util.EnumSet;
|
||||
import java.util.List;
|
||||
import java.util.stream.IntStream;
|
||||
@ -178,14 +177,6 @@ public class ArenaClass
|
||||
perms.add(permission);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get an unmodifiable map of permissions and values for the class.
|
||||
* @return a map of permissions and values
|
||||
*/
|
||||
public List<Thing> getPermissions() {
|
||||
return Collections.unmodifiableList(perms);
|
||||
}
|
||||
|
||||
public void addLobbyPermission(Thing permission) {
|
||||
lobbyperms.add(permission);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user