Paper/src/main/java/net/minecraft/server/ClientCommandOrdinalWrapper.java

28 Zeilen
688 B
Java

2013-11-04 14:07:38 +01:00
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) {
;
}
}
}