Skip to content

Commit

Permalink
1.0.6: Velocity b360+ support
Browse files Browse the repository at this point in the history
  • Loading branch information
UserNugget committed Feb 21, 2024
1 parent 06517b1 commit c9f08bf
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 3 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.5
1.0.6
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

setGroup("net.elytrium")
setVersion("1.0.5")
setVersion("1.0.6")

java {
setSourceCompatibility(JavaVersion.VERSION_17)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/net/elytrium/fastmotd/FastMOTD.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public void reload() {
Component kickReasonComponent = serializer.deserialize(Settings.IMP.MAINTENANCE.KICK_MESSAGE);
this.kickReason = this.preparedPacketFactory
.createPreparedPacket(ProtocolVersion.MINIMUM_VERSION, ProtocolVersion.MAXIMUM_VERSION)
.prepare(version -> DisconnectPacket.create(kickReasonComponent, version, true))
.prepare(version -> DisconnectPacket.create(kickReasonComponent, version, StateRegistry.LOGIN))
.build();

this.kickWhitelist = Settings.IMP.MAINTENANCE.KICK_WHITELIST.stream().map((String host) -> {
Expand Down
15 changes: 15 additions & 0 deletions src/main/java/net/elytrium/fastmotd/dummy/DummyPlayer.java
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,21 @@ public boolean sendPluginMessage(ChannelIdentifier identifier, byte[] data) {
return null;
}

@Override
public void addCustomChatCompletions(@NotNull Collection<String> collection) {

}

@Override
public void removeCustomChatCompletions(@NotNull Collection<String> collection) {

}

@Override
public void setCustomChatCompletions(@NotNull Collection<String> collection) {

}

@Override
public Tristate getPermissionValue(String permission) {
return null;
Expand Down

0 comments on commit c9f08bf

Please sign in to comment.