Skip to content

Commit

Permalink
fix #23
Browse files Browse the repository at this point in the history
  • Loading branch information
mlus-asuka committed Oct 10, 2024
1 parent 9332ac6 commit a77fc52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/vip/fubuki/playersync/sync/ModsSupport.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public void onPlayerJoin(Player player) throws SQLException {
ResultSet resultSet = queryResult.resultSet();
if(resultSet.next()) {
String curios_data=resultSet.getString("curios_item");
if(curios_data.isEmpty())
if(curios_data.length()<=2)
return;
itemHandler.ifPresent(handler ->{
for (int i = 0; i < handler.getSlots(); i++) {
Expand Down

0 comments on commit a77fc52

Please sign in to comment.