diff --git a/TwosideKeeper.jar b/TwosideKeeper.jar index 9b7f503..b685072 100644 Binary files a/TwosideKeeper.jar and b/TwosideKeeper.jar differ diff --git a/src/plugin.yml b/src/plugin.yml index 177a8e5..aab6c0a 100644 --- a/src/plugin.yml +++ b/src/plugin.yml @@ -1,6 +1,6 @@ name: TwosideKeeper main: sig.plugin.TwosideKeeper.TwosideKeeper -version: 3.4.7d +version: 3.4.7d1 commands: money: description: Tells the player the amount of money they are holding. diff --git a/src/sig/plugin/TwosideKeeper/TwosideKeeper.java b/src/sig/plugin/TwosideKeeper/TwosideKeeper.java index 0f964d1..0cec3ee 100644 --- a/src/sig/plugin/TwosideKeeper/TwosideKeeper.java +++ b/src/sig/plugin/TwosideKeeper/TwosideKeeper.java @@ -3979,7 +3979,7 @@ public class TwosideKeeper extends JavaPlugin implements Listener { else //We are looking for an artifact recipe. if (ev.getInventory().getResult()!=null && - ev.getInventory().getResult().getType()!=Material.AIR) { + ev.getInventory().getResult().getType()!=Material.AIR && Artifact.isArtifact(ev.getInventory().getResult())) { //We are looking for an artifact piece. int items_found=0; int slot_found=0; diff --git a/src/sig/plugin/TwosideKeeper/TwosideKeeperAPI.java b/src/sig/plugin/TwosideKeeper/TwosideKeeperAPI.java index a1ad679..a5e1cc3 100644 --- a/src/sig/plugin/TwosideKeeper/TwosideKeeperAPI.java +++ b/src/sig/plugin/TwosideKeeper/TwosideKeeperAPI.java @@ -48,15 +48,12 @@ public final class TwosideKeeperAPI { public static Monster spawnAdjustedMonster(MonsterType mt,Location loc) { return MonsterController.spawnAdjustedMonster(mt,loc); } - public static Monster autoAdjustMonster(Monster m) { return MonsterController.convertMonster(m); } - public static Monster adjustMonsterDifficulty(Monster m, MonsterDifficulty newdiff) { return MonsterController.convertMonster(m,newdiff); } - public static MonsterDifficulty getMonsterDifficulty(Monster m) { return MonsterController.getMonsterDifficulty(m); }