More Custom potion Effect Fixes: Ents and Trolls should no longer cause a crash when they are disabled.
For Minecraft 1.6.4 1.5.1g has been released with the fixes from this hotfix and the missed ones from hotfix f.
Another small fix to the Custom potion Effects, the code is now based off of how Biomes O Plenty's custom potion effects code which is openly available on GitHub and is awesome! Hopefully all should work great now and if it does, I'll try and move it back into 1.5.1f for Minecraft 1.6.4.
Fixed a crashed caused when a mod tries to check if a creature is hostile or not from the client when the creature isn't fully initialized and spawned in the world.
Fixed the Custom potion Effects ID disabling and if a bad effect is applied, it will be removed from the entity, also any bad potion effects saved to a world (entity NBT) will be removed when loading, this should stop all problems all together and will fix worlds broken