mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-30 15:30:51 -05:00
fix: achievement unlock
The unlock() function only takes a single argument
This commit is contained in:
@@ -121,7 +121,7 @@ class PostController extends Controller
|
||||
}
|
||||
|
||||
// Achievements
|
||||
$user->unlock(new UserMadeFirstPost(), 1);
|
||||
$user->unlock(new UserMadeFirstPost());
|
||||
$user->addProgress(new UserMade25Posts(), 1);
|
||||
$user->addProgress(new UserMade50Posts(), 1);
|
||||
$user->addProgress(new UserMade100Posts(), 1);
|
||||
|
||||
Reference in New Issue
Block a user