mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2025-03-04 09:22:36 +01:00
25 lines
375 B
Java
25 lines
375 B
Java
package com.eu.habbo.habbohotel.permissions;
|
|
|
|
public enum PermissionSetting {
|
|
|
|
DISALLOWED,
|
|
|
|
|
|
ALLOWED,
|
|
|
|
|
|
ROOM_OWNER;
|
|
|
|
public static PermissionSetting fromString(String value) {
|
|
switch (value) {
|
|
case "1":
|
|
return ALLOWED;
|
|
case "2":
|
|
return ROOM_OWNER;
|
|
|
|
}
|
|
|
|
return DISALLOWED;
|
|
}
|
|
}
|