geforkt von Mirrors/Paper
28 Zeilen
688 B
Java
28 Zeilen
688 B
Java
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) {
|
|
;
|
|
}
|
|
}
|
|
}
|