[Untested] [Experimental] [Need @drtshock to fix build server] Fully support all versions of Spigot and CraftBukkit from 1.8+

This commit is contained in:
vemacs 2015-06-17 10:25:46 -04:00
parent e4f6bb363d
commit 8793add589
19 changed files with 376 additions and 94 deletions

View file

@ -139,7 +139,7 @@ public class ItemDb implements IConf, net.ess3.api.IItemDb {
retval.setAmount(mat.getMaxStackSize());
if (mat == Material.MOB_SPAWNER) {
try {
ess.getSpawnerUtil().setEntityType(retval, EntityType.fromId(metaData));
ess.getSpawnerProvider().setEntityType(retval, EntityType.fromId(metaData));
} catch (IllegalArgumentException e) {
throw new Exception("Can't spawn entity ID " + metaData + " from mob spawners.");
}