mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-02-11 20:00:46 +00:00
Fix typo in OfflinePlayer#setBanned(boolean).
This commit is contained in:
parent
171b2b6a37
commit
ec3dc50e20
1 changed files with 1 additions and 1 deletions
|
@ -1264,7 +1264,7 @@ public class OfflinePlayer implements Player {
|
|||
@Deprecated
|
||||
public void setBanned(boolean banned) {
|
||||
if (ReflUtil.getNmsVersionObject().isHigherThanOrEqualTo(ReflUtil.V1_12_R1)) {
|
||||
throw new UnsupportedOperationException("Cannot called setBanned on MC 1.12 and higher.");
|
||||
throw new UnsupportedOperationException("Cannot call setBanned on MC 1.12 and higher.");
|
||||
}
|
||||
if (base.getName() == null && getName() != null) {
|
||||
if (banned) {
|
||||
|
|
Loading…
Reference in a new issue