Skip to content

Fix TNT minecart exploding despite 'TNT Explodes' option being turned…#1067

Merged
codeHusky merged 1 commit intosmartcmd:mainfrom
3UR:main
Mar 9, 2026
Merged

Fix TNT minecart exploding despite 'TNT Explodes' option being turned…#1067
codeHusky merged 1 commit intosmartcmd:mainfrom
3UR:main

Conversation

@3UR
Copy link
Contributor

@3UR 3UR commented Mar 9, 2026

Description

This is the fix 4J did in TU20 decompiled with IDA

Changes

Previous Behavior

Minecart would explode when the option is off

Root Cause

Design flaw

New Behavior

Minecart only explodes when the option is on

Fix Implementation

This was resolved by comparing the pseudocode of TU20 inside IDA with the source code and seeing what logic changes they did (see the images)
image
image

AI Use Disclosure

No AI was used.

Related Issues

I noticed there was already a change for this but the logic and code is not accurate to what 4J did in TU 20 and since I am working on my own version of the December 2014 source with accurate TU changes I decided I would do the change here too.

@codeHusky codeHusky merged commit e9dba1f into smartcmd:main Mar 9, 2026
1 check passed
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