mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-09-11 21:45:26 -04:00
Merge pull request #1513 from Undercova/master
Adjusted lightsaber inventory test value for 1 test case
This commit is contained in:
+2
-4
@@ -50,10 +50,8 @@ public class FlourishCmdCallback implements ICmdCallback {
|
||||
try {
|
||||
int flourishNumber = Integer.parseInt(args);
|
||||
|
||||
if(flourishNumber < 1 || flourishNumber > 9) {
|
||||
if(flourishNumber < 1 || flourishNumber > 8) {
|
||||
new SystemMessageIntent(player, "@performance:flourish_not_valid").broadcast();
|
||||
} else if(flourishNumber == 9) {
|
||||
new FlourishIntent(player, "mistake").broadcast();
|
||||
} else {
|
||||
new FlourishIntent(player, "skill_action_" + flourishNumber).broadcast();
|
||||
}
|
||||
@@ -64,4 +62,4 @@ public class FlourishCmdCallback implements ICmdCallback {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user