Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- TEAMS CLASS, CONTAINS METHODS TO JOIN PLAYER TO TEAM
- package zane.core.game;
- import java.util.ArrayList;
- import org.bukkit.entity.Player;
- public class teams {
- public teams(main main) {
- // Ignore!
- }
- public static ArrayList<Player> red = new ArrayList<Player>();
- public static ArrayList<Player> blue = new ArrayList<Player>();
- public void JoinTeamBlue(Player player, ArrayList<Player> blue) {
- blue.add(player);
- }
- public void JoinTeamRed(Player player, ArrayList<Player> red) {
- red.add(player);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement