Skip to content

fix up Vanilla hopper - #891

Open
Suisuroru wants to merge 1 commit into
Winds-Studio:ver/26.2from
Suisuroru:fix/vh
Open

fix up Vanilla hopper#891
Suisuroru wants to merge 1 commit into
Winds-Studio:ver/26.2from
Suisuroru:fix/vh

Conversation

@Suisuroru

Copy link
Copy Markdown

修正了一个由漏斗矿车导致箱子更新中的一个非原版行为问题-满载的漏斗矿车在尝试吸取箱子中的物品时箱子不应该发出状态更新

以下是相关联的议题
LophineLabs/Lophine#185

LeavesMC/Leaves#884

+ if (remainingItem.getCount() != itemCountToMove) {
+ origItemStack.setCount(removeOriginalItem ? originalItemCount - movedItemCount : originalItemCount);
+ container.setItem(i, origItemStack);
+ container.setChanged();

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

纸张神了 这完全是不一样吧(

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个是针对当前补丁的简单修复,给Leaves的PR是完整的重写过了的(

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leaves那边最好是把这里全抄过去 这里的修复了事件的问题(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants