mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Improve achievement params handling
This commit is contained in:
1 parent
85b08c7593
commit
d9b502002c
24 files changed
+1768
-229
No files matched your search
@@ -60,10 +60,7 @@ public class BuildCommand implements CommandHandler {
|
||||
var build = builder.toBuild();
|
||||
|
||||
// Add to star tower manager
|
||||
target.getStarTowerManager().getBuilds().put(build.getUid(), build);
|
||||
|
||||
// Save to database
|
||||
build.save();
|
||||
target.getStarTowerManager().addBuild(build);
|
||||
|
||||
// Send package to player
|
||||
target.addNextPackage(NetMsgId.st_import_build_notify, build.toProto());
|
||||
|
||||
Reference in new issue
Block a user