We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
double[] tps = this.plugin.getServer().getTPS();
Any other methods on getServer() afaik work fine but getTPS() results in a error
org.bukkit.command.CommandException: Unhandled exception executing command 'tps' in plugin MineCraftBetaTest v1.0.0 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:162) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:346) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:736) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:701) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:694) at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:89) at net.minecraft.server.NetworkListenThread.a(SourceFile:105) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:453) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:363) at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) Caused by: java.lang.NoSuchMethodError: org.bukkit.Server.getTPS()[D at nl.timtendo12.commands.TPSCommand.onCommand(TPSCommand.java:20) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39) ... 12 more >
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Any other methods on getServer() afaik work fine but getTPS() results in a error
The text was updated successfully, but these errors were encountered: