mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-04-25 16:09:44 +00:00
Default to pig spawner, fixes #67
This commit is contained in:
parent
1c78f5cc3b
commit
5227824608
1 changed files with 1 additions and 0 deletions
|
@ -137,6 +137,7 @@ public class ItemDb implements IConf, net.ess3.api.IItemDb {
|
|||
}
|
||||
ItemStack retval = new ItemStack(mat);
|
||||
if (mat == Material.MOB_SPAWNER) {
|
||||
if (metaData == 0) metaData = 50;
|
||||
try {
|
||||
retval = ess.getSpawnerProvider().setEntityType(retval, EntityType.fromId(metaData));
|
||||
} catch (IllegalArgumentException e) {
|
||||
|
|
Loading…
Reference in a new issue