summaryrefslogtreecommitdiffstats
path: root/mock/jrummikub/model
diff options
context:
space:
mode:
Diffstat (limited to 'mock/jrummikub/model')
-rw-r--r--mock/jrummikub/model/MockTable.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/mock/jrummikub/model/MockTable.java b/mock/jrummikub/model/MockTable.java
index d5bf07b..b077b7f 100644
--- a/mock/jrummikub/model/MockTable.java
+++ b/mock/jrummikub/model/MockTable.java
@@ -58,6 +58,8 @@ public class MockTable implements ITable {
}
public MockTable clone() {
+ if (clonedTable == null)
+ return this;
return clonedTable;
}