From eef3d40ec159ca28a88d37cf0db4733017d314dc Mon Sep 17 00:00:00 2001 From: Frog-That-code Date: Sat, 8 Jun 2024 21:24:34 -0400 Subject: Made it so players are actually assigned teams --- src/main/java/los/numeros/EPHS/modules/MainModule.java | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/main/java/los/numeros/EPHS/modules/MainModule.java') diff --git a/src/main/java/los/numeros/EPHS/modules/MainModule.java b/src/main/java/los/numeros/EPHS/modules/MainModule.java index c0715c3..6ac03c8 100644 --- a/src/main/java/los/numeros/EPHS/modules/MainModule.java +++ b/src/main/java/los/numeros/EPHS/modules/MainModule.java @@ -52,6 +52,8 @@ public class MainModule implements Module { // teleport to the seeker box p.teleport(Constants.seekerSpawnX, Constants.seekerSpawnY, Constants.seekerSpawnZ); + + scoreboard.addPlayerToTeam(p.getName().asString(), seekersTeam); } } @@ -60,6 +62,7 @@ public class MainModule implements Module { // Give hiders ender pearls x16 GiveItem.giveMultipleItem(p, "ender_pearl", null, 16); p.teleport(Constants.hidersSpawnX, Constants.hidersSpawnY, Constants.hidersSpawnZ); + scoreboard.addPlayerToTeam(p.getName().asString(), hidersTeam); } } -- cgit v1.2.1