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:
Andreas Troelsen 2018-07-03 01:03:32 +02:00
parent cf82a3a612
commit 691b608466

View File

@ -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);
}