PakkitPacket getPacket(String string) {
        if (!string.startsWith("Packet")) {
            string = "PacketPlayOut" + string;
        }
        for (final Map.Entry<Class<?>, PakkitPacket> entry : this.packets.entrySet()) {
            if (entry.getKey().getSimpleName().equalsIgnoreCase(string)) {
                return entry.getValue();
            }
        }
        return null;
    }