forked from LogBlock/LogBlock
Minor fixes in query title
This commit is contained in:
@@ -96,7 +96,7 @@ public class QueryParams implements Cloneable
|
|||||||
blocknames[i] = materialName(types.get(i));
|
blocknames[i] = materialName(types.get(i));
|
||||||
title.append(listing(blocknames, ", ", " and ") + " ");
|
title.append(listing(blocknames, ", ", " and ") + " ");
|
||||||
} else
|
} else
|
||||||
title.append("Block ");
|
title.append("block ");
|
||||||
if (bct == BlockChangeType.CREATED)
|
if (bct == BlockChangeType.CREATED)
|
||||||
title.append("creations ");
|
title.append("creations ");
|
||||||
else if (bct == BlockChangeType.DESTROYED)
|
else if (bct == BlockChangeType.DESTROYED)
|
||||||
@@ -110,7 +110,7 @@ public class QueryParams implements Cloneable
|
|||||||
if (minutes > 0)
|
if (minutes > 0)
|
||||||
title.append("in the last " + minutes + " minutes ");
|
title.append("in the last " + minutes + " minutes ");
|
||||||
if (minutes < 0)
|
if (minutes < 0)
|
||||||
title.append("up to " + minutes + " minutes ago ");
|
title.append("up to " + minutes * -1 + " minutes ago ");
|
||||||
if (loc != null && radius > 0)
|
if (loc != null && radius > 0)
|
||||||
title.append("within " + radius + " blocks of you ");
|
title.append("within " + radius + " blocks of you ");
|
||||||
if (loc != null && radius == 0)
|
if (loc != null && radius == 0)
|
||||||
|
Reference in New Issue
Block a user