From d4a2568f16927e45d417e1fec38a76ee6c8076d4 Mon Sep 17 00:00:00 2001 From: mlus <1319237806@qq.com> Date: Sun, 8 Feb 2026 22:21:37 +0800 Subject: [PATCH] fix crash with too many cobblemon in pc --- src/main/java/vip/fubuki/playersync/PlayerSync.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main/java/vip/fubuki/playersync/PlayerSync.java b/src/main/java/vip/fubuki/playersync/PlayerSync.java index f3cab1b..de14090 100644 --- a/src/main/java/vip/fubuki/playersync/PlayerSync.java +++ b/src/main/java/vip/fubuki/playersync/PlayerSync.java @@ -140,11 +140,15 @@ public class PlayerSync { "uuid CHAR(36) NOT NULL," + "inv BLOB," + "pokedex BLOB," + - "pc BLOB," + + "pc MEDIUMBLOB," + "general BLOB," + "PRIMARY KEY (uuid)" + ")" ); + + JDBCsetUp.executeUpdate( + "ALTER TABLE " + dbName + ".cobblemon MODIFY COLUMN pc MEDIUMBLOB" + ); } // Create backpack_data table