feat(characters): complete transfers and standalone display identity
Release / release (push) Successful in 10m26s
CI / build (push) Successful in 4m6s

This commit is contained in:
dmg committed 2026-09-18 22:40:08 -04:00
1 parent 3d045ff99b
commit b493cfe192
20 files changed
+3617 -70

No files matched your search

@@ -27,6 +27,7 @@ class DistributionTest {
assertFalse(metadata.getVersion().contains("${"));
assertEquals("games.dmg.fantasystick.FantasyStickPlugin", metadata.getMain());
assertNotNull(metadata.getAPIVersion(), "Declare the native API compatibility contract");
assertEquals(java.util.List.of("ProtocolLib"), metadata.getDepend());
assertEquals(java.util.Set.of("fantasystick"), metadata.getCommands().keySet());
assertEquals("fantasystick.admin", metadata.getCommands().get("fantasystick").get("permission"));
assertEquals(1, metadata.getPermissions().size());
@@ -40,7 +41,7 @@ class DistributionTest {
bytecode.readUnsignedShort();
assertEquals(69, bytecode.readUnsignedShort(), "Java 25 bytecode");
}
assertFalse(jar.stream().anyMatch(entry -> entry.getName().startsWith("org/")
assertFalse(jar.stream().anyMatch(entry -> entry.getName().startsWith("com/comphenix/") || entry.getName().startsWith("org/")
|| entry.getName().startsWith("net/") || entry.getName().endsWith("Test.class")),
"Server API and test dependencies must not ship in the plugin");
}