Fix properties file and correct method signature.

This commit is contained in:
Sindusk
2018-05-30 02:31:51 -04:00
parent 1ce8da9c65
commit e756f954a0
3 changed files with 3 additions and 2 deletions

View File

@@ -1,7 +1,7 @@
apply plugin: 'java'
group "mod.sin"
version "2.0"
version "2.1"
repositories {
mavenCentral()

View File

@@ -1,4 +1,4 @@
classname=mod.sin.armoury.Armoury
classname=mod.sin.armoury.ArmouryMod
classpath=Armoury.jar
depend.import=SinduskLibrary
depend.suggests=ServerTweaks

View File

@@ -469,6 +469,7 @@ public class MaterialTweaks {
Util.instrumentDeclared(thisClass, ctActions, "getVariableActionTime", "getStaminaModiferFor", replace);
Util.instrumentDeclared(thisClass, ctActions, "getSlowActionTime", "getStaminaModiferFor", replace);
Util.instrumentDeclared(thisClass, ctActions, "getPickActionTime", "getStaminaModiferFor", replace);
replace = "$_ = $proceed($$)*"+MaterialTweaks.class.getName()+".getMaterialSpeedModifier(realSource);";
Util.instrumentDeclared(thisClass, ctActions, "getItemCreationTime", "getStaminaModiferFor", replace);
}
} catch (NotFoundException e) {