diff --git a/src/main/java/vip/fubuki/playersync/sync/ModsSupport.java b/src/main/java/vip/fubuki/playersync/sync/ModsSupport.java index 8daea8e..6faceea 100644 --- a/src/main/java/vip/fubuki/playersync/sync/ModsSupport.java +++ b/src/main/java/vip/fubuki/playersync/sync/ModsSupport.java @@ -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++) {