diff --git a/pom.xml b/pom.xml index cce7c533..bf904997 100644 --- a/pom.xml +++ b/pom.xml @@ -66,8 +66,6 @@ 17 3.9.0 - - AuthMe CUSTOM @@ -88,7 +86,7 @@ 1.6.0 5.1.0 2.0.13 - 0.1.1-SNAPSHOT + 0.1.2 8.3.0 3.3.3 42.5.1 @@ -338,12 +336,14 @@ ${project.finalNameBase} + @@ -571,7 +571,7 @@ ch.jalu datasourcecolumns ${dependencies.datasourcecolumns.version} - + provided diff --git a/src/main/java/fr/xephi/authme/listener/protocollib/InventoryPacketAdapter.java b/src/main/java/fr/xephi/authme/listener/protocollib/InventoryPacketAdapter.java index bef64b3c..fb823409 100644 --- a/src/main/java/fr/xephi/authme/listener/protocollib/InventoryPacketAdapter.java +++ b/src/main/java/fr/xephi/authme/listener/protocollib/InventoryPacketAdapter.java @@ -40,7 +40,7 @@ import java.util.List; class InventoryPacketAdapter extends PacketAdapter { private static final int PLAYER_INVENTORY = 0; - // http://wiki.vg/Inventory#Inventory (0-4 crafting, 5-8 armor, 9-35 main inventory, 36-44 hotbar, 45 offhand) + // http://wiki.vg/Inventory#Inventory (0-4 crafting, 5-8 armor, 9-35 main inventory, 36-44 hotbar, 45 off-hand) // +1 because an index starts with 0 private static final int CRAFTING_SIZE = 5; private static final int ARMOR_SIZE = 4; @@ -115,8 +115,8 @@ class InventoryPacketAdapter extends PacketAdapter { try { protocolManager.sendServerPacket(player, inventoryPacket, false); - } catch (Throwable throwable) { - logger.logException("Error during sending blank inventory", throwable); + } catch (Exception exception) { + logger.logException("Error during sending blank inventory", exception); } } }