summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r--src/jrummikub/model/StoneTray.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jrummikub/model/StoneTray.java b/src/jrummikub/model/StoneTray.java
index 9148934..a5f023d 100644
--- a/src/jrummikub/model/StoneTray.java
+++ b/src/jrummikub/model/StoneTray.java
@@ -198,7 +198,7 @@ public class StoneTray<E extends Sizeable> implements IStoneTray<E> {
@Override
public boolean contains(E object) {
- return objects.containsKey(objects);
+ return objects.get(object) != null;
}
@Override