Fix click counter

This commit is contained in:
Chicken-Bones committed 2014-10-01 20:05:00 +10:00
1 parent eb47513b44
commit a78386b433
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ public class ClickCounter<T>
public int count;
public boolean update(T clicked) {
if(Objects.equal(this.clicked, clicked)) {
if(!Objects.equal(this.clicked, clicked)) {
this.clicked = clicked;
count = 0;
time = Long.MIN_VALUE;