SkidSolutions
This commit is contained in:
commit
14b3235b41
7727 files changed
+864433
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package cc.novoline.commands.util;
|
||||
|
||||
import cc.novoline.modules.PlayerRelationType;
|
||||
|
||||
public class FriendRelationSwitchMap {
|
||||
public static final int[] SWITCH_MAP = new int[PlayerRelationType.values().length];
|
||||
|
||||
static {
|
||||
try {
|
||||
SWITCH_MAP[PlayerRelationType.TARGET.ordinal()] = 1;
|
||||
} catch (NoSuchFieldError noSuchFieldError) {
|
||||
}
|
||||
|
||||
try {
|
||||
SWITCH_MAP[PlayerRelationType.FRIEND.ordinal()] = 2;
|
||||
} catch (NoSuchFieldError noSuchFieldError2) {
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user