Fix failed tests

This commit is contained in:
2024-01-07 18:36:54 +01:00
parent 95058e86a6
commit d975666154
2 changed files with 2 additions and 0 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@ target/
*.secret
*.db
nbactions.xml
stargate.iml

View File

@@ -26,6 +26,7 @@ public class GateLayoutTest {
public static void setUp() {
ServerMock server = MockBukkit.mock();
server.addWorld(new WorldMock(Material.DIRT, 5));
System.setProperty("bstats.relocatecheck", "false");
MockBukkit.load(Stargate.class);
layout = GateHandler.getGateByName("nethergate.gate").getLayout();
}