#831 Implement single session by canceling kicks caused by same name joining

- A little less nice, but works on both CraftBukkit and Spigot
- Remove obsolete warning
This commit is contained in:
ljacqu
2016-08-03 21:31:40 +02:00
parent f4add64695
commit 4aad1d506c
4 changed files with 23 additions and 60 deletions
@@ -1,19 +0,0 @@
package fr.xephi.authme.util;
import org.junit.Test;
import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
/**
* Test for {@link ServerUtils}.
*/
public class ServerUtilsTest {
@Test
public void shouldReturnTrueForSpigotImplementation() {
// Spigot is a provided dependency of the project, so the ClassLoader knows about it
assertThat(ServerUtils.isSpigot(), equalTo(true));
}
}