Added configuration options to spleef game

This commit is contained in:
MineTec committed 2023-10-01 19:54:02 +02:00
1 parent 61448e77f2
commit 91069b76c6
4 files changed
+24 -15

No files matched your search

@@ -18,13 +18,11 @@ public class PlayerLoginHandler implements EventListener<PlayerLoginEvent> {
@Override
public @NotNull Result run(@NotNull PlayerLoginEvent event) {
Player p = event.getPlayer();
p.setRespawnPoint(Hub.INSTANCE.getSpawn());
p.sendMessage(p.getUuid().toString());
event.setSpawningInstance(Hub.INSTANCE);
//SkinCache.applySkin(p);
SkinCache.applySkin(p);
if(p.getUsername().equalsIgnoreCase("minetec"))