Merge pull request #151 from LOLYAYDEV/patch-1

Update TpsCommand.java
This commit is contained in:
Carlos Mesa 2024-07-21 11:46:18 +02:00 committed by GitHub
commit b7b8608e06
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,7 +19,7 @@ import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
public class TpsCommand implements WSCommand {
private static final String mcVer = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[3];
private static final String mcVer = Bukkit.getServer().getClass().getPackage().getName().split("\\.")[2];
@Override
public void execute(WSServer wsServer, WebSocket conn, String params) {