Skip to content

Commit

Permalink
We don't have commons-lang3 3.13.0+
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaming32 committed May 12, 2024
1 parent a73a96b commit f2bd9ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/io/github/gaming32/worldhost/WorldHost.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
import net.minecraft.server.network.ServerConnectionListener;
import net.minecraft.server.players.GameProfileCache;
import org.apache.commons.lang3.StringUtils;
import org.apache.commons.lang3.exception.UncheckedReflectiveOperationException;
import org.apache.http.client.methods.HttpGet;
import org.apache.http.client.utils.URIBuilder;
import org.apache.http.impl.client.CloseableHttpClient;
Expand Down Expand Up @@ -875,7 +874,8 @@ public static ChannelInitializer<Channel> createChannelInitializer(ServerConnect
try {
return channelInitializerConstructor.newInstance(listener);
} catch (ReflectiveOperationException e) {
throw new UncheckedReflectiveOperationException(e);
// TODO: UncheckedReflectiveOperationException when 1.20.4+ becomes the minimum
throw new RuntimeException(e);
}
}

Expand Down

0 comments on commit f2bd9ba

Please sign in to comment.