mirror of
https://github.com/EssentialsX/Essentials.git
synced 2024-11-08 03:50:06 +01:00
Default to pig spawner, fixes #67
This commit is contained in:
parent
1c78f5cc3b
commit
5227824608
@ -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 New Issue
Block a user