Hello, I'm polish. I'm editing plugin on 1.7.10 1st error: Collection<? extends Player> pList = Bukkit.getOnlinePlayers(); 2st error: Duplicate local variable len https://hastebin.com/ositeniveb.java
Code (Text): Collection<? extends Player> pList = Bukkit.getOnlinePlayers(); if ((pList != null) && (pList.size() >= Bukkit.getMaxPlayers())) { getOnlinePlayers is deprecated
You can still use deprecated methods without any problem but they will probably be removed in a future release of Spigot.
@ExplosiveNight Try changing spigot-api and spigot to craftbukkit and bukkit? @ThePabloDev Nothing gives
@DynamicThijs Img: https://zapodaj.net/1301deda133a1.png.html Code: https://hastebin.com/anosaqifes.cs