Skip to content

Commit

Permalink
Support for mcMMO 2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
montlikadani committed Jan 29, 2019
1 parent 92564ee commit 1f1b9ee
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 880 deletions.
Binary file removed libs/mcMMO-1.5.05-SNAPSHOT.jar
Binary file not shown.
Binary file added libs/mcMMO.jar
Binary file not shown.
4 changes: 2 additions & 2 deletions pom.xml
Expand Up @@ -31,9 +31,9 @@
<dependency>
<groupId>com.gmail.nossr50.mcMMO</groupId>
<artifactId>mcMMO</artifactId>
<version>1.5.05-SNAPSHOT</version>
<version>2.0.0</version>
<scope>system</scope>
<systemPath>${basedir}/libs/mcMMO-1.5.05-SNAPSHOT.jar</systemPath>
<systemPath>${basedir}/libs/mcMMO.jar</systemPath>
</dependency>
<!-- Vault -->
<dependency>
Expand Down
Expand Up @@ -460,7 +460,7 @@ public boolean leaveJob(Job job) {
// synchronized (saveLock) {
JobProgression prog = getJobProgression(job);
if (prog != null) {
progression.remove(prog);//TODO
progression.remove(prog);
reloadMaxExperience();
reloadLimits();
reloadHonorific();
Expand Down
Expand Up @@ -55,6 +55,9 @@ public void OnItemrepair(McMMOPlayerRepairCheckEvent event) {
return;

JobsPlayer jPlayer = Jobs.getPlayerManager().getJobsPlayer(player);
if (jPlayer == null)
return;

Jobs.action(jPlayer, new ItemActionInfo(resultStack, ActionType.REPAIR));
}

Expand Down Expand Up @@ -83,9 +86,8 @@ public double getMultiplier(Player player) {
return 0D;

HashMap<AbilityType, Long> InfoMap = map.get(player.getName());
if (InfoMap == null) {
if (InfoMap == null)
return 0D;
}

Long t = InfoMap.get(AbilityType.TREE_FELLER);
if (t != null) {
Expand Down
201 changes: 0 additions & 201 deletions src/main/resources/LICENSE-Apache.txt

This file was deleted.

0 comments on commit 1f1b9ee

Please sign in to comment.