mirror of
https://github.com/Xiao-MoMi/craft-engine.git
synced 2025-12-31 04:46:37 +00:00
添加思路
This commit is contained in:
@@ -792,6 +792,8 @@ public class RecipeEventListener implements Listener {
|
||||
}
|
||||
|
||||
// 不是完美的解决方案,仍然需要更多的探讨
|
||||
// TODO 生成类代理掉ResultSlot,并注入menu的slots对象,修改掉onTake方法
|
||||
// TODO 对于耐久度降低的配方,应该注册special recipe?
|
||||
@EventHandler(ignoreCancelled = true, priority = EventPriority.HIGHEST)
|
||||
public void onCraft(CraftItemEvent event) {
|
||||
org.bukkit.inventory.Recipe recipe = event.getRecipe();
|
||||
|
||||
Reference in New Issue
Block a user