mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Fix !build command potential count and not saving to the database
This commit is contained in:
1 parent
3a6387c2bd
commit
5d9ff6e1af
2 files changed
+10
-9
No files matched your search
@@ -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());
|
||||
|
||||
|
||||
Reference in new issue
Block a user