playernotifier: drop paper api that doesnt exist in 1.17
This commit is contained in:
parent
89830a1904
commit
fbfe174ed8
@ -96,8 +96,7 @@ public class PlayerNotifier implements Listener {
|
||||
} catch (Exception e) {
|
||||
}
|
||||
} else {
|
||||
Title title = new Title.Builder().title(event.newRegion.name()).subtitle("Population: "+pop+" Altitude: " + altitude).build();
|
||||
event.player.sendTitle(title);
|
||||
event.player.sendTitle(event.newRegion.coloredName(), "Population: " + pop + " Altitude: " + altitude);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user