mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Fixed a bug where Herablism magically converted potatoes to carrots.
This commit is contained in:
parent
2b269ebf54
commit
6d42d14575
@ -446,7 +446,7 @@ public class Herbalism {
|
|||||||
case CARROT:
|
case CARROT:
|
||||||
Misc.dropItem(location, new ItemStack(Material.CARROT_ITEM));
|
Misc.dropItem(location, new ItemStack(Material.CARROT_ITEM));
|
||||||
Misc.randomDropItems(location, new ItemStack(Material.CARROT_ITEM), 50, 3);
|
Misc.randomDropItems(location, new ItemStack(Material.CARROT_ITEM), 50, 3);
|
||||||
inventory.removeItem(new ItemStack(Material.POTATO_ITEM));
|
inventory.removeItem(new ItemStack(Material.CARROT_ITEM));
|
||||||
break;
|
break;
|
||||||
case POTATO:
|
case POTATO:
|
||||||
Misc.dropItem(location, new ItemStack(Material.POTATO_ITEM));
|
Misc.dropItem(location, new ItemStack(Material.POTATO_ITEM));
|
||||||
|
@ -208,7 +208,7 @@ public class HashChunkManager implements ChunkManager {
|
|||||||
if(world == null)
|
if(world == null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
ChunkletUnloader.addToList(cx, cx, world);
|
ChunkletUnloader.addToList(cx, cz, world);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user