mirror of
https://github.com/TotalFreedomMC/TF-EssentialsX.git
synced 2025-08-02 18:46:13 +00:00
Pig, not creeper
This commit is contained in:
parent
5227824608
commit
7e580920f6
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ public class ItemDb implements IConf, net.ess3.api.IItemDb {
|
||||||
}
|
}
|
||||||
ItemStack retval = new ItemStack(mat);
|
ItemStack retval = new ItemStack(mat);
|
||||||
if (mat == Material.MOB_SPAWNER) {
|
if (mat == Material.MOB_SPAWNER) {
|
||||||
if (metaData == 0) metaData = 50;
|
if (metaData == 0) metaData = 90;
|
||||||
try {
|
try {
|
||||||
retval = ess.getSpawnerProvider().setEntityType(retval, EntityType.fromId(metaData));
|
retval = ess.getSpawnerProvider().setEntityType(retval, EntityType.fromId(metaData));
|
||||||
} catch (IllegalArgumentException e) {
|
} catch (IllegalArgumentException e) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue