Fixed tests compilation errors

This commit is contained in:
Florian CUNY 2019-09-28 14:05:58 +02:00
parent 93219cbc1c
commit 4eae5fada0
2 changed files with 20 additions and 0 deletions

View File

@ -30,6 +30,7 @@ import org.bukkit.plugin.PluginManager;
import org.bukkit.scheduler.BukkitScheduler;
import org.bukkit.scheduler.BukkitTask;
import org.bukkit.util.Vector;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
import org.junit.After;
import org.junit.Before;
@ -701,5 +702,14 @@ public class IslandGoCommandTest {
return false;
}
@Override
public @NonNull List<String> getOnJoinCommands() {
return null;
}
@Override
public @NonNull List<String> getOnLeaveCommands() {
return null;
}
}
}

View File

@ -29,6 +29,7 @@ import org.bukkit.event.block.BlockBreakEvent;
import org.bukkit.event.block.BlockPlaceEvent;
import org.bukkit.event.player.PlayerChangedWorldEvent;
import org.bukkit.event.player.PlayerJoinEvent;
import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;
import org.junit.After;
import org.junit.Before;
@ -275,6 +276,15 @@ public class BlockEndDragonTest {
private Map<String, Boolean> worldFlags = new HashMap<>();
@Override
public @NonNull List<String> getOnLeaveCommands() {
return null;
}
@Override
public @NonNull List<String> getOnJoinCommands() {
return null;
}
@Override
public GameMode getDefaultGameMode() {