Added configuration options to spleef game
This commit is contained in:
@ -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"))
|
||||
|
Reference in New Issue
Block a user