mirror of
https://github.com/EssentialsX/Essentials.git
synced 2025-01-02 22:47:41 +01:00
Release 2.20.1
This commit is contained in:
parent
b781c1e924
commit
6d2a8ffba4
@ -71,10 +71,12 @@ public final class VersionUtil {
|
|||||||
builder.put("io.akarin.server.Config", SupportStatus.DANGEROUS_FORK);
|
builder.put("io.akarin.server.Config", SupportStatus.DANGEROUS_FORK);
|
||||||
|
|
||||||
// Forge - Doesn't support Bukkit
|
// Forge - Doesn't support Bukkit
|
||||||
builder.put("net.minecraftforge.common.MinecraftForge", SupportStatus.UNSTABLE);
|
// The below translates to net.minecraftforge.common.MinecraftForge
|
||||||
|
builder.put(dumb(new int[] {110, 101, 116, 46, 109, 105, 110, 101, 99, 114, 97, 102, 116, 102, 111, 114, 103, 101, 46, 99, 111, 109, 109, 111, 110, 46, 77, 105, 110, 101, 99, 114, 97, 102, 116, 70, 111, 114, 103, 101}, 40), SupportStatus.UNSTABLE);
|
||||||
|
|
||||||
// Fabric - Doesn't support Bukkit
|
// Fabric - Doesn't support Bukkit
|
||||||
builder.put("net.fabricmc.loader.launch.knot.KnotServer", SupportStatus.UNSTABLE);
|
// The below translates to net.fabricmc.loader.launch.knot.KnotServer
|
||||||
|
builder.put(dumb(new int[] {110, 101, 116, 46, 102, 97, 98, 114, 105, 99, 109, 99, 46, 108, 111, 97, 100, 101, 114, 46, 108, 97, 117, 110, 99, 104, 46, 107, 110, 111, 116, 46, 75, 110, 111, 116, 83, 101, 114, 118, 101, 114}, 42), SupportStatus.UNSTABLE);
|
||||||
|
|
||||||
// Misc translation layers that do not add NMS will be caught by this
|
// Misc translation layers that do not add NMS will be caught by this
|
||||||
if (ReflUtil.getNmsVersionObject().isHigherThanOrEqualTo(ReflUtil.V1_17_R1)) {
|
if (ReflUtil.getNmsVersionObject().isHigherThanOrEqualTo(ReflUtil.V1_17_R1)) {
|
||||||
@ -345,4 +347,21 @@ public final class VersionUtil {
|
|||||||
return supported;
|
return supported;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static String dumb(final int[] clazz, final int len) {
|
||||||
|
final char[] chars = new char[clazz.length];
|
||||||
|
|
||||||
|
for (int i = 0; i < clazz.length; i++) {
|
||||||
|
chars[i] = (char) clazz[i];
|
||||||
|
}
|
||||||
|
|
||||||
|
final String decode = String.valueOf(chars);
|
||||||
|
|
||||||
|
if (decode.length() != len) {
|
||||||
|
System.exit(1);
|
||||||
|
return "why do hybrids try to bypass this?";
|
||||||
|
}
|
||||||
|
|
||||||
|
return decode;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -76,7 +76,7 @@ To add EssentialsX to your build system, you should use the following artifacts:
|
|||||||
|
|
||||||
| Type | Group ID | Artifact ID | Version |
|
| Type | Group ID | Artifact ID | Version |
|
||||||
|:---------------|:------------------|:--------------|:------------------|
|
|:---------------|:------------------|:--------------|:------------------|
|
||||||
| Latest release | `net.essentialsx` | `EssentialsX` | `2.20.0` |
|
| Latest release | `net.essentialsx` | `EssentialsX` | `2.20.1` |
|
||||||
| Snapshots | `net.essentialsx` | `EssentialsX` | `2.20.1-SNAPSHOT` |
|
| Snapshots | `net.essentialsx` | `EssentialsX` | `2.20.1-SNAPSHOT` |
|
||||||
| Older releases | `net.ess3` | `EssentialsX` | `2.18.2` |
|
| Older releases | `net.ess3` | `EssentialsX` | `2.18.2` |
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ plugins {
|
|||||||
}
|
}
|
||||||
|
|
||||||
group = "net.essentialsx"
|
group = "net.essentialsx"
|
||||||
version = "2.20.1-SNAPSHOT"
|
version = "2.20.1"
|
||||||
|
|
||||||
project.ext {
|
project.ext {
|
||||||
GIT_COMMIT = !indraGit.isPresent() ? "unknown" : indraGit.commit().abbreviate(7).name()
|
GIT_COMMIT = !indraGit.isPresent() ? "unknown" : indraGit.commit().abbreviate(7).name()
|
||||||
|
Loading…
Reference in New Issue
Block a user