playernotifier: drop paper api that doesnt exist in 1.17

This commit is contained in:
Torrie Fischer 2021-06-14 13:25:43 -07:00
parent 89830a1904
commit fbfe174ed8

View File

@ -96,8 +96,7 @@ public class PlayerNotifier implements Listener {
} catch (Exception e) { } catch (Exception e) {
} }
} else { } else {
Title title = new Title.Builder().title(event.newRegion.name()).subtitle("Population: "+pop+" Altitude: " + altitude).build(); event.player.sendTitle(event.newRegion.coloredName(), "Population: " + pop + " Altitude: " + altitude);
event.player.sendTitle(title);
} }
} }