Skip to content

Commit 6955e9e

Browse files
tastybentoclaude
andcommitted
Remove obsolete ServerMocks after master merge
The merge from master reintroduced ServerMocks.java and added a stale import to MobsSpawnListenerTest. ServerMocks predates the MockBukkit-based test infrastructure and no longer compiles against Paper 1.21.11 (its Registry.get call is ambiguous against the new Registry<TypedKey<T>> overload). MockBukkit covers the same ground via CommonTestSetup, so drop the file and its now-unused import. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 6e66c6c commit 6955e9e

2 files changed

Lines changed: 0 additions & 119 deletions

File tree

src/test/java/world/bentobox/extramobs/listeners/MobsSpawnListenerTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
import world.bentobox.extramobs.ExtraMobsAddon;
3333
import world.bentobox.extramobs.config.MobSpawnReplacement;
3434
import world.bentobox.extramobs.config.Settings;
35-
import world.bentobox.extramobs.listeners.mocks.ServerMocks;
3635

3736
/**
3837
* Tests for {@link MobsSpawnListener}.

src/test/java/world/bentobox/extramobs/listeners/mocks/ServerMocks.java

Lines changed: 0 additions & 118 deletions
This file was deleted.

0 commit comments

Comments
 (0)