Skip to content

Commit 8ee25a0

Browse files
committed
fix: test compilation
1 parent 94531b3 commit 8ee25a0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/me/machinemaker/papertweaks/config/MixinsTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ static void beforeEach() {
6161
when(mockServer.getWorld("world")).thenReturn(mockWorld);
6262
when(mockServer.getLogger()).thenReturn(Logger.getLogger("MockServer"));
6363
when(mockServer.getRegistry(any())).thenAnswer(invocation -> {
64-
return new Registry<>() {
64+
return new Registry.NotARegistry<>() {
6565
@Override
6666
public @Nullable Keyed get(final NamespacedKey key) {
6767
return null;
@@ -76,6 +76,8 @@ public Stream<Keyed> stream() {
7676
public Iterator<Keyed> iterator() {
7777
return Collections.emptyIterator();
7878
}
79+
80+
7981
};
8082
});
8183
Bukkit.setServer(mockServer);

0 commit comments

Comments
 (0)