mirror of
https://gitlab.com/phoenix-dvpmt/mmoitems.git
synced 2024-12-22 04:37:42 +01:00
Merge branch 'master' of
http://Indyuce@dev.lumine.io/bitbucket/scm/mmo/mmoitems.git Conflicts: lib/MMOCore.jar src/main/java/net/Indyuce/mmoitems/comp/mmocore/MMOCoreMMOLoader.java
This commit is contained in:
commit
f193fdd706
BIN
lib/MMOCore.jar
BIN
lib/MMOCore.jar
Binary file not shown.
@ -22,11 +22,13 @@ import net.Indyuce.mmoitems.comp.mmocore.crafting.ExperienceCraftingTrigger;
|
|||||||
import net.Indyuce.mmoitems.comp.mmocore.crafting.ProfessionCondition;
|
import net.Indyuce.mmoitems.comp.mmocore.crafting.ProfessionCondition;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.GetMMOItemObjective;
|
import net.Indyuce.mmoitems.comp.mmocore.load.GetMMOItemObjective;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.ItemTemplateDropItem;
|
import net.Indyuce.mmoitems.comp.mmocore.load.ItemTemplateDropItem;
|
||||||
|
//import net.Indyuce.mmoitems.comp.mmocore.load.ItemTemplateDropItem;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.MMOItemDropItem;
|
import net.Indyuce.mmoitems.comp.mmocore.load.MMOItemDropItem;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.MMOItemTrigger;
|
import net.Indyuce.mmoitems.comp.mmocore.load.MMOItemTrigger;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.MMOItemsBlockType;
|
import net.Indyuce.mmoitems.comp.mmocore.load.MMOItemsBlockType;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.MineMIBlockExperienceSource;
|
import net.Indyuce.mmoitems.comp.mmocore.load.MineMIBlockExperienceSource;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.RandomItemDropItem;
|
import net.Indyuce.mmoitems.comp.mmocore.load.RandomItemDropItem;
|
||||||
|
//import net.Indyuce.mmoitems.comp.mmocore.load.RandomItemDropItem;
|
||||||
import net.Indyuce.mmoitems.comp.mmocore.load.SmeltMMOItemExperienceSource;
|
import net.Indyuce.mmoitems.comp.mmocore.load.SmeltMMOItemExperienceSource;
|
||||||
import net.Indyuce.mmoitems.stat.type.DoubleStat;
|
import net.Indyuce.mmoitems.stat.type.DoubleStat;
|
||||||
import net.Indyuce.mmoitems.stat.type.ItemStat;
|
import net.Indyuce.mmoitems.stat.type.ItemStat;
|
||||||
|
@ -55,7 +55,7 @@ public class CraftingListener implements Listener {
|
|||||||
}
|
}
|
||||||
CachedRecipe cached = cachedRecipe.get(e.getWhoClicked().getUniqueId());
|
CachedRecipe cached = cachedRecipe.get(e.getWhoClicked().getUniqueId());
|
||||||
cachedRecipe.remove(e.getWhoClicked().getUniqueId());
|
cachedRecipe.remove(e.getWhoClicked().getUniqueId());
|
||||||
if (!cached.isValid(inv.getMatrix())) {
|
if (!cached.isValid(inv.getMatrix()) || !e.getCurrentItem().isSimilar(cached.getResult())) {
|
||||||
e.setCancelled(true);
|
e.setCancelled(true);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user