mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2025-01-05 07:27:46 +01:00
minor cleanup
This commit is contained in:
parent
1b990c535b
commit
20b4f5ed67
@ -1,4 +1,4 @@
|
||||
WorldBorder
|
||||
===========
|
||||
|
||||
<a href="http://dev.bukkit.org/server-mods/worldborder/">Read more on the BukkitDev site.</a>
|
||||
<a href="https://dev.bukkit.org/projects/worldborder">Read more on the BukkitDev site.</a>
|
@ -106,14 +106,7 @@ public class BorderCheckTask implements Runnable
|
||||
if (Config.Debug())
|
||||
Config.logWarn("Player had a passenger riding on them: " + rider.getType());
|
||||
}
|
||||
if (passengers.size() == 1)
|
||||
{
|
||||
player.sendMessage("Your passenger has been ejected.");
|
||||
}
|
||||
else
|
||||
{
|
||||
player.sendMessage("Your passengers have been ejected.");
|
||||
}
|
||||
player.sendMessage("Your passenger" + ((passengers.size() > 1) ? "s have" : " has") + " been ejected.");
|
||||
}
|
||||
|
||||
// give some particle and sound effects where the player was beyond the border, if "whoosh effect" is enabled
|
||||
|
Loading…
Reference in New Issue
Block a user