[Demonstration 1]

[Buggy Method]
public static boolean teleport(EntityPlayer player, Dimension dimension, Coordinate coordinate) {
    if ((dimension == null) || !dimension.isRegistered() || (player == null)) {
        return false;
    }
    WorldServer target = DimensionManager.getWorld(dimension.getId());
    if (target == null) {
        return false;
    }
    return teleport(player, dimension, coordinate, target);
}

[Buggy Hunk]
WorldServer target = DimensionManager.getWorld( dimension.getId() );

[Patch]
WorldServer target = MinecraftServer.getServer().worldServerForDimension( dimension.getId() );

[Demonstration 2]

[Buggy Method]
@Override
public World getWorld(int id) {
    return ForgeInterface.getWorld(DimensionManager.getWorld(id));
}

[Buggy Hunk]
return ForgeInterface.getWorld(DimensionManager.getWorld(id));

[Patch]
return ForgeInterface.getWorld(MinecraftServer.getServer().worldServerForDimension(id));

[Demonstration 3]

[Buggy Method]
private void displayPreferenceFragment() {
    getChildFragmentManager().beginTransaction().add(R.id.settings_preferences_container, new SettingsPreferenceFragment()).commit();
}

[Buggy Hunk]
.add(R.id.settings_preferences_container, new SettingsPreferenceFragment())

[Patch]
.replace(R.id.settings_preferences_container, new SettingsPreferenceFragment())