mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-04 19:46:27 +00:00
[Untested] [Experimental] [Need @drtshock to fix build server] Fully support all versions of Spigot and CraftBukkit from 1.8+
This commit is contained in:
parent
e4f6bb363d
commit
8793add589
19 changed files with 376 additions and 94 deletions
|
@ -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.");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue