blob: e04158d6aa7986885f97c55cffe2c5551fe5f94f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package org.bukkit.support;
import net.minecraft.server.StatisticList;
import org.junit.BeforeClass;
/**
* If you are getting: java.lang.ExceptionInInitializerError
* at net.minecraft.server.StatisticList.<clinit>(SourceFile:58)
* at net.minecraft.server.Item.<clinit>(SourceFile:252)
* at net.minecraft.server.Block.<clinit>(Block.java:577)
*
* extend this class to solve it.
*/
public abstract class AbstractTestingBase {
@BeforeClass
public static void setup() {
StatisticList.a();
DummyServer.setup();
DummyPotions.setup();
DummyEnchantments.setup();
}
}
|