Update to Minecraft 1.21.8, add checkstyle, fix compilation errors
- Update Paper API: 1.20.1 -> 1.21.4 - Update plugin version: 1.5.5-1.20.1 -> 1.5.5-1.21.8 - Add checkstyle plugin with reasonable rules - Fix Enchantment.LUCK -> Enchantment.UNBREAKING - Fix EntityType.FIREWORK -> EntityType.FIREWORK_ROCKET - Remove unused imports - Add temp_*/ to .gitignore - 118 files changed, 1633 insertions(+), 1301 deletions(-)
This commit is contained in:
parent
6a4c8a7886
commit
e78d8a2de4
121 changed files with 1792 additions and 1301 deletions
|
|
@ -35,9 +35,9 @@ public class SkinsRestorerHook {
|
|||
Class<?> apiClass = Class.forName("net.skinsrestorer.api.SkinsRestorerAPI");
|
||||
Method getApiMethod = apiClass.getMethod("getApi");
|
||||
skinsAPI = getApiMethod.invoke(null);
|
||||
|
||||
|
||||
getSkinDataMethod = skinsAPI.getClass().getMethod("getSkinData", String.class);
|
||||
|
||||
|
||||
enabled = true;
|
||||
plugin.getLogger().info("SkinsRestorer подключен!");
|
||||
} catch (Exception e) {
|
||||
|
|
@ -52,6 +52,7 @@ public class SkinsRestorerHook {
|
|||
|
||||
/**
|
||||
* Получает текстуру скина игрока
|
||||
*
|
||||
* @param player игрок
|
||||
* @return URL текстуры или null
|
||||
*/
|
||||
|
|
@ -72,6 +73,7 @@ public class SkinsRestorerHook {
|
|||
|
||||
/**
|
||||
* Получает URL головы игрока для отображения
|
||||
*
|
||||
* @param playerName имя игрока
|
||||
* @return URL головы
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue