Paper/src/main/java/net/minecraft/server/ClientCommandOrdinalWrapper.java
2013-11-30 19:26:12 -06:00

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) {
;
}
}
}