Skip to content

Commit 7e66ebd

Browse files
committed
Remove debug messages
1 parent 1a3a6c2 commit 7e66ebd

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/main/java/world/bentobox/level/panels/DetailsPanel.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,6 @@ private void updateFilters() {
256256
}
257257
// Sort and filter
258258
Comparator<BlockRec> sorter;
259-
System.out.println("activeFilter: " + activeFilter);
260259

261260
switch (this.activeFilter) {
262261
case COUNT -> {
@@ -279,26 +278,17 @@ private void updateFilters() {
279278
blockLimit = Objects.requireNonNullElse(this.addon.getBlockConfig().getLimit(o2.key()), 0);
280279
int o2Count = blockLimit > 0 ? Math.min(o2.value(), blockLimit) : o2.value();
281280

282-
System.out.println("o1.key(): " + o1.key());
283-
System.out.println("o1.key() class: " + o1.key().getClass());
284-
System.out.println("o2.key(): " + o2.key());
285-
286281
long o1Value = (long) o1Count
287282
* this.addon.getBlockConfig().getBlockValues().getOrDefault(o1.key().toString().toLowerCase(Locale.ENGLISH), 0);
288283
long o2Value = (long) o2Count
289284
* this.addon.getBlockConfig().getBlockValues().getOrDefault(o2.key().toString().toLowerCase(Locale.ENGLISH), 0);
290285

291-
System.out.println("o1Value: " + o1Value);
292-
System.out.println("o2Value: " + o2Value);
293-
294286
if (o1Value == o2Value) {
295-
System.out.println("has same value");
296287
String o1Name = Utils.prettifyObject(o1.key(), this.user);
297288
String o2Name = Utils.prettifyObject(o2.key(), this.user);
298289

299290
return String.CASE_INSENSITIVE_ORDER.compare(o1Name, o2Name);
300291
} else {
301-
System.out.println("compare long");
302292
return Long.compare(o2Value, o1Value);
303293
}
304294
};

0 commit comments

Comments
 (0)