9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-28 03:29:06 +00:00
This commit is contained in:
CrazyDev22
2024-04-17 21:21:18 +02:00
parent 010a1e9e91
commit c1d9cc62cb

View File

@@ -102,7 +102,11 @@ public class IrisJigsawPiece extends IrisRegistrant {
public IrisJigsawPiece copy() {
var gson = getLoader().getGson();
return gson.fromJson(gson.toJson(this), IrisJigsawPiece.class);
IrisJigsawPiece copy = gson.fromJson(gson.toJson(this), IrisJigsawPiece.class);
copy.setLoader(getLoader());
copy.setLoadKey(getLoadKey());
copy.setLoadFile(getLoadFile());
return copy;
}
public boolean isTerminal() {