mirror of
https://github.com/SpigotMC/BungeeCord.git
synced 2024-11-03 09:10:12 +01:00
Manually add the setDescriptionComponent(BaseComponent)
Lombok won't generate because of the overloading of setDescription(String).
This commit is contained in:
parent
46e7f2dfc9
commit
0294fc5f20
@ -145,6 +145,10 @@ public class ServerPing
|
|||||||
return BaseComponent.toLegacyText( description );
|
return BaseComponent.toLegacyText( description );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void setDescriptionComponent(BaseComponent description) {
|
||||||
|
this.description = description;
|
||||||
|
}
|
||||||
|
|
||||||
public BaseComponent getDescriptionComponent() {
|
public BaseComponent getDescriptionComponent() {
|
||||||
return description;
|
return description;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user