Fixed a bug where Herablism magically converted potatoes to carrots.

This commit is contained in:
Glitchfinder 2012-11-15 16:34:57 -08:00
parent 2b269ebf54
commit 6d42d14575
3 changed files with 80 additions and 80 deletions

View File

@ -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));

View File

@ -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