Skip to content

Commit 36745b7

Browse files
committed
Fix #25: weird crash with ultimine
1 parent 085849c commit 36745b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/dev/technici4n/moderndynamics/network/NodeHost.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public void onRemoved() {
253253

254254
public void addDrops(List<ItemStack> drops) {
255255
for (Direction side : Direction.values()) {
256-
var attachment = removeAttachment(side);
256+
var attachment = getAttachment(side);
257257
if (attachment != null) {
258258
drops.addAll(attachment.getDrops());
259259
}

0 commit comments

Comments
 (0)