Fix !build command potential count and not saving to the database

This commit is contained in:
Melledy
2025-12-10 20:38:05 -08:00
parent 3a6387c2bd
commit 5d9ff6e1af
2 changed files with 10 additions and 9 deletions
@@ -62,6 +62,9 @@ public class BuildCommand implements CommandHandler {
// Add to star tower manager
target.getStarTowerManager().getBuilds().put(build.getUid(), build);
// Save to database
build.save();
// Send package to player
target.addNextPackage(NetMsgId.st_import_build_notify, build.toProto());