nope, it doesn't work that way. also should be commas at the end of new sfx table, like this "SfxTable tab2 = new SfxTable();" i already tried everything. Even tried to crate another class that contained SfxTable inside and can be copied.
it's possible with the java file were .getSfxTable() function is. Maybe it's SfxRef.java, i don't know. It has to have a copy constructor, so you could use "SfxTable tab2 = new SfxTable(tab);"
This post was edited by mindeliszz (2014-05-14 07:39, ago)