Skip to content

Commit 074e033

Browse files
committed
Change object.isStamp() to !object.isToken()
1 parent 8ec8a8b commit 074e033

File tree

1 file changed

+2
-2
lines changed
  • maptool/src/main/java/net/rptools/maptool/model

1 file changed

+2
-2
lines changed

maptool/src/main/java/net/rptools/maptool/model/Zone.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1572,9 +1572,9 @@ public int compare(Token o1, Token o2) {
15721572
int v2 = getFigureZOrder(o2);
15731573
if ((v1 - v2) != 0)
15741574
return v1 - v2;
1575-
if (o1.isStamp() && o2.isToken())
1575+
if (!o1.isToken() && o2.isToken())
15761576
return -1;
1577-
if (o2.isStamp() && o1.isToken())
1577+
if (!o2.isToken() && o1.isToken())
15781578
return +1;
15791579
if (o1.getHeight() != o2.getHeight()) {
15801580
// Larger tokens at the same position, go behind

0 commit comments

Comments
 (0)