geforkt von Mirrors/Velocity
Allow clearing favicon in ServerPing builder.
Dieser Commit ist enthalten in:
Ursprung
55cc416b52
Commit
3aee47166f
@ -262,6 +262,11 @@ public final class ServerPing {
|
||||
return this;
|
||||
}
|
||||
|
||||
public Builder clearFavicon() {
|
||||
this.favicon = null;
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Uses the information from this builder to create a new {@link ServerPing} instance. The
|
||||
* builder can be re-used after this event has been called.
|
||||
|
@ -35,6 +35,11 @@ class MinecraftChannelIdentifierTest {
|
||||
assertEquals(expected, MinecraftChannelIdentifier.from("velocity:test"));
|
||||
}
|
||||
|
||||
@Test
|
||||
void createAllowsSlashes() {
|
||||
create("velocity", "test/test2");
|
||||
}
|
||||
|
||||
@Test
|
||||
void fromIdentifierThrowsOnBadValues() {
|
||||
assertAll(
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren