forge icon indicating copy to clipboard operation
forge copied to clipboard

NPE toDeckColor(from.getKey()).getOrderWeight()

Open Hanmac opened this issue 4 weeks ago • 0 comments

https://github.com/Card-Forge/forge/blob/db24b1bf97766089c0cedf779f70e2b266b9d6dd/forge-gui/src/main/java/forge/itemmanager/ColumnDef.java#L273-L275

toDeckColor can return null if it is not a DeckProxy, and then getOrderWeight does fail

Hanmac avatar Dec 02 '25 13:12 Hanmac