Skip to content

Commit 6200a08

Browse files
committed
Moni Labs 0.18.13
* Hotfix to actually do the PSS anti-cheese
1 parent 990e764 commit 6200a08

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

changelog.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# Moni Labs 0.18.12
1+
# Moni Labs 0.18.13
22

3-
* Fix preview counts for custom sensor hatches
4-
* Fix using the wrong part abilities for the custom max laser source hatches
3+
* Hotfix to actually do the PSS anti-cheese

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ org.gradle.jvmargs=-Xmx1G
1111
mapping_version=2023.09.03
1212

1313
# Mod Properties
14-
mod_version=0.18.12
14+
mod_version=0.18.13
1515
maven_group=net.neganote.monilabs
1616
archives_base_name=monilabs
1717
mod_id=monilabs

src/main/java/net/neganote/monilabs/mixin/PowerSubstationMachineMixin.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ public PowerSubstationMachineMixin(IMachineBlockEntity holder) {
2323
@Inject(method = "transferEnergyTick()V", at = @At(value = "HEAD"), cancellable = true)
2424
public void monilabs$injectBeforeTransferEnergyTick(CallbackInfo ci) {
2525
if (getLevel() instanceof ServerLevel serverLevel) {
26-
CreativeDataAccessSavedData savedData = CreativeDataAccessSavedData.getOrCreate(serverLevel);
26+
CreativeDataAccessSavedData savedData = CreativeDataAccessSavedData
27+
.getOrCreate(serverLevel.getServer().overworld());
2728
if (savedData.isEnabledFor(getOwnerUUID())) {
2829
ci.cancel();
2930
}

0 commit comments

Comments
 (0)