Detonate a AE2 Tiny TNT near a MI disguised pipe can crash server
J4ckTh3R1pper opened this issue ยท 4 comments
Describe the bug
The server crashed
How to reproduce the bug
Detonate A tiny TNT with a Modern Industrialization pipe within its blast radius.
Expected behavior
Nothing happens
Additional details
MI version: 1.6.16, AE2 version: 12.9.8, Using the latest StaTech Industry modpack.
Which minecraft version are you using?
1.19
On which mod loaders does it happen?
Fabric
Crash log
https://gist.github.com/J4ckTh3R1pper/3d0a38e275d3de6fe5251a41caf3f16e
Still should not crash tztztz
Technici4n ***@***.***> schrieb am Fr., 5. Jan. 2024, 14:50:
โฆ java.lang.NullPointerException: Cannot invoke "aztech.modern_industrialization.pipes.impl.PipeBlockEntity.getNodes()" because "pipeEntity" is null
at aztech.modern_industrialization.pipes.impl.PipeBlock.getDroppedStacks(PipeBlock.java:239)
at net.minecraft.AbstractBlock$Settingsclass_4971.getDroppedStacks(AbstractBlock.java:960)
at net.minecraft.block.Block.getDroppedStacks(Block.java:329)
at net.minecraft.block.Block.dropStacks(Block.java:351)
at appeng.entity.TinyTNTPrimedEntity.explode(TinyTNTPrimedEntity.java:178)
at appeng.entity.TinyTNTPrimedEntity.tick(TinyTNTPrimedEntity.java:123)
It looks like AE2 is calling the wrong Block.dropResources override, and
therefore MI doesn't get the BE in the loot context.
โ
Reply to this email directly, view it on GitHub
<#7522 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJT6V2SQTWETXQVNHLBY7DYNAAMFAVCNFSM6AAAAABBHNABZSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZYGY4TCMRZGY>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
java.lang.NullPointerException: Cannot invoke "aztech.modern_industrialization.pipes.impl.PipeBlockEntity.getNodes()" because "pipeEntity" is null
at aztech.modern_industrialization.pipes.impl.PipeBlock.getDroppedStacks(PipeBlock.java:239)
at net.minecraft.AbstractBlock$Settingsclass_4971.getDroppedStacks(AbstractBlock.java:960)
at net.minecraft.block.Block.getDroppedStacks(Block.java:329)
at net.minecraft.block.Block.dropStacks(Block.java:351)
at appeng.entity.TinyTNTPrimedEntity.explode(TinyTNTPrimedEntity.java:178)
at appeng.entity.TinyTNTPrimedEntity.tick(TinyTNTPrimedEntity.java:123)
It looks like AE2 is calling the wrong Block.dropResources
override, and therefore MI doesn't get the BE in the loot context.
@Technici4n That's on your end, right?