fix Wireless connector lose custom name on migration (#1334)

Co-authored-by: Martin Robertz <dream-master@gmx.net>
This commit is contained in:
lc-1337andMartin Robertz authored and GitHub committed 2026-05-27 16:43:12 +02:00
1 parent 2f93284ae9
commit ab1db2a974
1 file changed
+1
@@ -155,6 +155,7 @@ public class ae2stuffConvertor implements Runnable {
}
if (color != 16) newNbt.setShort("Color", (short) color);
if (tag.hasKey("CustomName")) newNbt.setString("customName", tag.getString("CustomName"));
newNbt.setTag("proxy", tag.getCompoundTag("ae_node"));
newNbt.setInteger("x", tag.getInteger("x"));
newNbt.setInteger("y", tag.getInteger("y"));