Fix vanilla items being uncraftable.

This commit is contained in:
sigonasr2 2016-07-08 13:12:44 -05:00
parent 5f46805eaf
commit 88c21c17c2
4 changed files with 2 additions and 5 deletions

Binary file not shown.

View File

@ -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.

View File

@ -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;

View File

@ -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);
}