Skip to content
This repository was archived by the owner on Jun 9, 2024. It is now read-only.

Commit e808e87

Browse files
authored
Merge pull request #600 from Lulalaby/patch-2
Update Permissions
2 parents d00df0b + 4b14961 commit e808e87

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/main/java/com/mewna/catnip/entity/util/Permission.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public enum Permission {
8989
CREATE_PRIVATE_THREADS(1L << 36, true, "Create Private Threads"),
9090
USE_EXTERNAL_STICKERS(1L << 37, true, "Use External Stickers"),
9191
SEND_MESSAGES_IN_THREADS(1L << 38, true, "Send Messages in Threads"),
92+
START_EMBEDDED_ACTIVITIES(1L << 39, true, "Start Embedded Activities"),
9293
;
9394

9495
public static final long ALL = from(values());

src/test/java/com/mewna/catnip/permission/BitwiseTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class BitwiseTest {
4444
@Test
4545
public void testAll() {
4646
final Permission[] perms = values();
47-
final long expected = 549755813887L;
47+
final long expected = 1099511627775L;
4848
long total = 0;
4949

5050
for(final Permission p : perms) {

0 commit comments

Comments
 (0)