Skip to content

Conversation

@DebugOk
Copy link
Contributor

@DebugOk DebugOk commented Jun 12, 2021

Information

This PR fixes a mistake in PR #4226.

Details

Proposed fix:
Actually use the correct '>' instead of '<='

Having <= will hide any players with a balance greater then 0, this is the opposite of what was intended with the patch

Environments tested:

OS: Linux 4.15.0-88-generic

Java version: Java 11 (OpenJDK 64-Bit Server VM 11.0.11+9-Ubuntu-0ubuntu2.20.04)

  • Most recent Paper version (1.16.5, git-Paper-776)
  • CraftBukkit/Spigot/Paper 1.12.2
  • CraftBukkit 1.8.8

Demonstration:
N\A

DebugOk and others added 9 commits June 12, 2021 03:23
I added that because I thought it was needed.

Spoiler alert, it wasn't.
Having it set to less that or equal to breaks what it was meant to do

Instead of hiding players with a balance of 0 it only shows players with a balance of 0
@JRoy JRoy merged commit 65b8020 into EssentialsX:2.x Jun 12, 2021
ressidell pushed a commit to ressidell/Essentials that referenced this pull request Apr 27, 2025
Co-authored-by: Josh Roy <10731363+JRoy@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants