[Demonstration 1]

[Buggy Method]
public boolean setReplace(Coord4D obj, int index) {
    IBlockState state = obj.getBlockState(worldObj);
    Block block = state.getBlock();
    EntityPlayer dummy = Mekanism.proxy.getDummyPlayer((WorldServer) worldObj, obj.xCoord, obj.yCoord, obj.zCoord).get();
    BlockEvent.BreakEvent event = new BlockEvent.BreakEvent(worldObj, obj.getPos(), state, dummy);
    MinecraftForge.EVENT_BUS.post(event);
    if (!event.isCanceled()) {
        ItemStack stack = getReplace(index);
        if (stack != null) {
            worldObj.setBlockState(obj.getPos(), Block.getBlockFromItem(stack.getItem()).getStateFromMeta(stack.getItemDamage()), 3);
            IBlockState s = obj.getBlockState(worldObj);
            if (s.getBlock() instanceof BlockBush && !((BlockBush) s.getBlock()).canBlockStay(worldObj, obj.getPos(), s)) {
                s.getBlock().dropBlockAsItem(worldObj, obj.getPos(), s, 1);
                worldObj.setBlockToAir(obj.getPos());
            }
            return true;
        } else {
            MinerFilter filter = replaceMap.get(index);
            if (filter == null || (filter.replaceStack == null || !filter.requireStack)) {
                worldObj.setBlockToAir(obj.getPos());
                return true;
            }
            missingStack = filter.replaceStack;
            return false;
        }
    }
    return false;
}

[Buggy Hunk]
EntityPlayer dummy = Mekanism.proxy.getDummyPlayer((WorldServer)worldObj, obj.xCoord, obj.yCoord, obj.zCoord).get();

[Patch]
EntityPlayer dummy = Mekanism.proxy.getDummyPlayer((WorldServer)worldObj, this.xCoord, this.yCoord, this.zCoord).get();

[Demonstration 2]

[Buggy Method]
@Override
public long getFirstPlayed() {
    return getHandle().getFirstPlayed().getTime();
}

[Buggy Hunk]
return getHandle().getFirstPlayed().getTime();

[Patch]
return getHandle().getData(JoinData.class).get().getFirstPlayed().getTime();

[Demonstration 3]

[Buggy Method]
private boolean convertEntity(GameFactory gameFactory, CompoundTag entity) {
    // Items on the ground, item frames
    if (entity.containsKey(EntityTag.ITEM)) {
        return convertItem(gameFactory.createItemStack(entity.getCompound(EntityTag.ITEM)));
    }
    // Items in mine carts with chests/hoppers and in horses
    if (entity.containsKey(EntityTag.ITEMS)) {
        return convertItemList(gameFactory, entity.getList(EntityTag.ITEM, TagType.COMPOUND));
    }
    return false;
}

[Buggy Hunk]
return convertItemList(gameFactory, entity.getList(EntityTag.ITEM, TagType.COMPOUND));

[Patch]
return convertItemList(gameFactory, entity.getList(EntityTag.ITEMS, TagType.COMPOUND));