blob: 04eacb8ed8a3f9c72036ea492f9b82ff2c582fd7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
package net.minecraft.server;
// CraftBukkit - import package private class
class ClientCommandOrdinalWrapper {
static final int[] a = new int[EnumClientCommand.values().length];
static {
try {
a[EnumClientCommand.PERFORM_RESPAWN.ordinal()] = 1;
} catch (NoSuchFieldError nosuchfielderror) {
;
}
try {
a[EnumClientCommand.REQUEST_STATS.ordinal()] = 2;
} catch (NoSuchFieldError nosuchfielderror1) {
;
}
try {
a[EnumClientCommand.OPEN_INVENTORY_ACHIEVEMENT.ordinal()] = 3;
} catch (NoSuchFieldError nosuchfielderror2) {
;
}
}
}
|