mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-09-04 11:31:10 +02:00
Removed unused World parameter in Island#showMembers()
This commit is contained in:
parent
01b0c2004b
commit
4169ae9f16
|
@ -613,7 +613,7 @@ public class Island implements DataObject {
|
||||||
String total = plugin.getIWM().getResetLimit(world) < 0 ? "Unlimited" : String.valueOf(plugin.getIWM().getResetLimit(world));
|
String total = plugin.getIWM().getResetLimit(world) < 0 ? "Unlimited" : String.valueOf(plugin.getIWM().getResetLimit(world));
|
||||||
user.sendMessage("commands.admin.info.resets-left", "[number]", resets, "[total]", total);
|
user.sendMessage("commands.admin.info.resets-left", "[number]", resets, "[total]", total);
|
||||||
// Show team members
|
// Show team members
|
||||||
showMembers(plugin, user, world);
|
showMembers(plugin, user);
|
||||||
}
|
}
|
||||||
Vector location = center.toVector();
|
Vector location = center.toVector();
|
||||||
user.sendMessage("commands.admin.info.island-location", "[xyz]", Util.xyz(location));
|
user.sendMessage("commands.admin.info.island-location", "[xyz]", Util.xyz(location));
|
||||||
|
@ -639,9 +639,8 @@ public class Island implements DataObject {
|
||||||
* Shows the members of this island
|
* Shows the members of this island
|
||||||
* @param plugin - plugin
|
* @param plugin - plugin
|
||||||
* @param user - user who is requesting
|
* @param user - user who is requesting
|
||||||
* @param world - world to check
|
|
||||||
*/
|
*/
|
||||||
public void showMembers(BentoBox plugin, User user, World world) {
|
public void showMembers(BentoBox plugin, User user) {
|
||||||
user.sendMessage("commands.admin.info.team-members-title");
|
user.sendMessage("commands.admin.info.team-members-title");
|
||||||
members.forEach((u, i) -> {
|
members.forEach((u, i) -> {
|
||||||
if (owner.equals(u)) {
|
if (owner.equals(u)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user