mirror of
https://github.com/AuthMe/AuthMeReloaded.git
synced 2025-02-21 06:11:32 +01:00
Update datasourcecolumns to release, requested changes
This commit is contained in:
parent
e69016aba5
commit
3ca87cd127
8
pom.xml
8
pom.xml
@ -66,8 +66,6 @@
|
||||
<java.compiler.minimumVersion>17</java.compiler.minimumVersion>
|
||||
<maven.minimumVersion>3.9.0</maven.minimumVersion>
|
||||
|
||||
<!-- Dependencies versions -->
|
||||
|
||||
<!-- Versioning properties -->
|
||||
<project.outputName>AuthMe</project.outputName>
|
||||
<project.buildNumber>CUSTOM</project.buildNumber>
|
||||
@ -88,7 +86,7 @@
|
||||
<dependencies.commons-email.version>1.6.0</dependencies.commons-email.version>
|
||||
<dependencies.hikaricp.version>5.1.0</dependencies.hikaricp.version>
|
||||
<dependencies.slf4j.version>2.0.13</dependencies.slf4j.version>
|
||||
<dependencies.datasourcecolumns.version>0.1.1-SNAPSHOT</dependencies.datasourcecolumns.version>
|
||||
<dependencies.datasourcecolumns.version>0.1.2</dependencies.datasourcecolumns.version>
|
||||
<dependencies.mysql-connector-j.version>8.3.0</dependencies.mysql-connector-j.version>
|
||||
<dependencies.mariadb-java-client.version>3.3.3</dependencies.mariadb-java-client.version>
|
||||
<dependencies.postgresql.version>42.5.1</dependencies.postgresql.version>
|
||||
@ -338,12 +336,14 @@
|
||||
<!-- Use the base jar name, to help server owners download the right jar -->
|
||||
<finalName>${project.finalNameBase}</finalName>
|
||||
|
||||
<!--
|
||||
<relocations>
|
||||
<relocation>
|
||||
<pattern>ch.jalu.datasourcecolumns</pattern>
|
||||
<shadedPattern>fr.xephi.authme.libs.ch.jalu.datasourcecolumns</shadedPattern>
|
||||
</relocation>
|
||||
</relocations>
|
||||
-->
|
||||
|
||||
<filters>
|
||||
<!-- Ignore manifest signatures for shading the project into an uber-jar to fix -->
|
||||
@ -571,7 +571,7 @@
|
||||
<groupId>ch.jalu</groupId>
|
||||
<artifactId>datasourcecolumns</artifactId>
|
||||
<version>${dependencies.datasourcecolumns.version}</version>
|
||||
<!-- We need to shade it as it is not published on Maven Central -->
|
||||
<scope>provided</scope>
|
||||
</dependency>
|
||||
|
||||
<!-- MySQL connector -->
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user