Skip to content

Commit 4a74353

Browse files
committed
Improve EMI exclusion areas for non-enlightened splicing table
1 parent 29e45d1 commit 4a74353

File tree

2 files changed

+9
-6
lines changed

2 files changed

+9
-6
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
3232

3333
- Fixed a few bugs allowing arbitrary items to be inserted into the Splicing Table and Focal Frame using hoppers or modded item transportation ([#38](https://github.com/object-Object/HexDebug/issues/38), [#53](https://github.com/object-Object/HexDebug/issues/38)).
3434
- Fixed the EMI integration failing to load on Forge.
35+
- Fixed EMI not using the space where the cast button would be in a regular Splicing Table.
3536
- Fixed Splicing Table iota renderer resources not being loaded when the game launches on Forge.
3637

3738
### Removed

Common/src/main/kotlin/gay/object/hexdebug/interop/HexDebugEmiPlugin.kt

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,14 @@ object HexDebugEmiPlugin {
3434
exportButtonWidth,
3535
exportButtonHeight,
3636
))
37-
consumer.accept(Bounds(
38-
castButtonX,
39-
castButtonY,
40-
castButtonWidth,
41-
castButtonHeight,
42-
))
37+
if (data.isEnlightened) {
38+
consumer.accept(Bounds(
39+
castButtonX,
40+
castButtonY,
41+
castButtonWidth,
42+
castButtonHeight,
43+
))
44+
}
4345
consumer.accept(Bounds(
4446
storageMinX,
4547
storageMinY,

0 commit comments

Comments
 (0)