feat: announce than player left and dropped the game
This commit is contained in:
parent
c933e277c1
commit
1ddf48d6ba
1 changed files with 1 additions and 0 deletions
|
|
@ -65,6 +65,7 @@ public class MiscListener implements Listener {
|
|||
public void onQuit(PlayerQuitEvent event) {
|
||||
Player player = event.getPlayer();
|
||||
EggController.dropEgg(player, data, config);
|
||||
Announcement.announce(String.format("The egg has been dropped as %s left!", player.getName()), logger);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue