Closed MrKacafirekCZ closed 1 year ago
Hello, as a developer I have found that I'm not able to use methods forNoxesiumPlayers from the NoxesiumUtils class as described in the README file.
forNoxesiumPlayers
NoxesiumUtils
Here is an example of how I wanted to use your method:
public void fooBar(Player player) { if(!player.isOp()) { player.sendMessage(Component.text("Not enough permissions!", NamedTextColor.RED)); return; } NoxesiumUtils.forNoxesiumPlayers(1, (p, protocolVersion) -> { p.sendMessage("Your Noxesium Protocol Version is " + protocolVersion); }); }
However I'm unable to do so as methods forNoxesiumPlayers from the NoxesiumUtils class are missing a static modifier:
static
I have created this issue together with a PR #3 where this bug has been fixed.
Hello, as a developer I have found that I'm not able to use methods
forNoxesiumPlayers
from theNoxesiumUtils
class as described in the README file.Here is an example of how I wanted to use your method:
However I'm unable to do so as methods
forNoxesiumPlayers
from theNoxesiumUtils
class are missing astatic
modifier:I have created this issue together with a PR #3 where this bug has been fixed.