This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ship = SSTO Hauler Fuel | |
version = 1.3.0 | |
description = | |
type = SPH | |
size = 24.7084923,9.85134506,32.958931 | |
PART | |
{ | |
part = mk3Cockpit.Shuttle_4288528032 | |
partName = Part | |
pos = -7.04839373,6.83048439,-2.38453865 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#SingleInstance Force | |
#MaxHotkeysPerInterval 99999 | |
#IfWinActive ahk_class DarkSouls2 | |
; AutoHotkey script to remove input lag from DarkSouls2 PC, and adds | |
; hotkeys for Guard break / Jump Attack | |
; | |
; Current settings (some can be easily changed) | |
; LMB / RMB = normal attacks | |
; Shift + LMB / RMB = strong attacks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private static <T> T createNewInstance(Class<T> type) throws InstantiationException, IllegalAccessException, IllegalArgumentException, InvocationTargetException { | |
Constructor<?>[] constructors = type.getDeclaredConstructors(); | |
// if its an interface or abstract class | |
if (constructors.length == 0) | |
return null; | |
// if trying to create a generic | |
if (type == Class.class) | |
return null; |