Added configuration options to spleef game

This commit is contained in:
2023-10-01 19:54:02 +02:00
parent 61448e77f2
commit 91069b76c6
4 changed files with 24 additions and 15 deletions

View File

@ -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"))