mirror of
https://github.com/Melledy/Nebula.git
synced 2026-09-20 01:29:54 +02:00
Fix !build command potential count and not saving to the database
This commit is contained in:
@@ -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