Overlord

Overlord

875k Downloads

'Potentially Dangerous alternative prefix'

LemADEC opened this issue · 5 comments

commented

As of Overlord-1.12.2-2.4.10, forge is reporting warnings in the console

[10:44:04] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `skeleton_maker`, expected `overlord`. This could be a intended override, but in most cases indicates a broken mod.
[10:44:04] [Server thread/WARN] [FML]: Potentially Dangerous alternative prefix `minecraft` for name `baby_skeleton_maker`, expected `overlord`. This could be a intended override, but in most cases indicates a broken mod.
commented

I've found the issue, and unfortunately, if I fix this, it will wipe the inventories of all skeleton makers and baby skeleton makers in the world. This will be fixed in the update to 1.13, when backwards compatibility with existing worlds doesn't matter nearly as much.

commented

Upstream supports upgrading your data for those kind of situations

commented
commented

There used to be a GameRegistry.addSubstitutionAlias() but now you just register your TileEntity twice (under the new and old name). I'm not sure if you need to convert it yourself to the new id (remove tile entity and readd it properly) or if it'll do it automatically for you.