aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main/java/los/numeros/EPHS/modules/MainModule.java3
1 files changed, 3 insertions, 0 deletions
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);
}
}