调研编号:
RecipeHandlerRollingMachineShaped 以 genPerms=false 构造 PositionedStack 后立即 setMaxSize(1)。NEI extractRecipeItems 对 ItemStack 不 copy;setMaxSize 写 items[] 原件。generatePermutations 的 copy 发生在写入之后。
DUP
type/defect
p3
TDLM/NEI-Integration
origin/master
1e88b70767d8eef8330d9f16d57ad7ca02de9505
src/main/java/tonius/neiintegration/mods/railcraft/RecipeHandlerRollingMachineShaped.java:63-64
PositionedStack stack = new PositionedStack(item, 25 + x * 18, 8 + y * 18, false); stack.setMaxSize(1);
NEI-Integration
client,server
RecipeHandlerRollingMachineShaped.java:63
已修:有序轧机 PositionedStack items 在 setMaxSize 前 copy。patches/0001,layer commit 15ee39c。
No dependencies set.
The note is not visible to the blocked user.
调研编号:
现象
RecipeHandlerRollingMachineShaped 以 genPerms=false 构造 PositionedStack 后立即 setMaxSize(1)。NEI extractRecipeItems 对 ItemStack 不 copy;setMaxSize 写 items[] 原件。generatePermutations 的 copy 发生在写入之后。
危害类与优先级
DUP→ 标签type/defectp3(缺 stackSize>1 的有序轧制实例;专用服客户端改本地表)证据(生效源码)
TDLM/NEI-Integration+ 分支origin/master+ pin/commit1e88b70767d8eef8330d9f16d57ad7ca02de9505(submodule upstream)src/main/java/tonius/neiintegration/mods/railcraft/RecipeHandlerRollingMachineShaped.java:63-64触发与复现
NEI-Integration/sidesclient,server/默认配置可达:未证(包内是否有 stackSize>1 输入)落点
TDLM/NEI-Integration→RecipeHandlerRollingMachineShaped.java:63范式
引证
来源
已修:有序轧机 PositionedStack items 在 setMaxSize 前 copy。patches/0001,layer commit 15ee39c。