mirror of
https://github.com/Brettflan/WorldBorder.git
synced 2025-01-07 00:17:45 +01:00
minor cleanup
This commit is contained in:
parent
1b990c535b
commit
20b4f5ed67
@ -1,4 +1,4 @@
|
|||||||
WorldBorder
|
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())
|
if (Config.Debug())
|
||||||
Config.logWarn("Player had a passenger riding on them: " + rider.getType());
|
Config.logWarn("Player had a passenger riding on them: " + rider.getType());
|
||||||
}
|
}
|
||||||
if (passengers.size() == 1)
|
player.sendMessage("Your passenger" + ((passengers.size() > 1) ? "s have" : " has") + " been ejected.");
|
||||||
{
|
|
||||||
player.sendMessage("Your passenger has been ejected.");
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
|
||||||
player.sendMessage("Your passengers have been ejected.");
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// give some particle and sound effects where the player was beyond the border, if "whoosh effect" is enabled
|
// 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