static private DamageCause getType(String str) {
		// Renamed
		if (str.equalsIgnoreCase("burning")) {
			return DamageCause.FIRE_TICK;
		}
		
		// By Name
		DamageCause[] types = getTypes();
		for (int i = 0; i < types.length; i++) {
			if (types[i].name().equalsIgnoreCase(str)) return types[i];
		}
		
		for (int i = 0; i < types.length; i++) {
			if (types[i].name().replace("_", "").equalsIgnoreCase(str)) return types[i];
		}
		
		for (int i = 0; i < types.length; i++) {
			if (types[i].name().replace("_", " ").equalsIgnoreCase(str)) return types[i];
		}
		
		throw new RuntimeException("Unknown damage cause: " + str);
	}