mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-29 08:36:45 +01:00
13 lines
385 B
Java
13 lines
385 B
Java
|
import java.util.ArrayList;
|
||
|
public class vMinecraftParty {
|
||
|
|
||
|
//Check if two players are in the same party
|
||
|
public static boolean inSameParty(Player playera, Player playerb){
|
||
|
if(vMinecraftUsers.getProfile(playera).getParty().equals(vMinecraftUsers.getProfile(playerb).getParty())){
|
||
|
return true;
|
||
|
} else {
|
||
|
return false;
|
||
|
}
|
||
|
}
|
||
|
}
|