Skip to content

Commit

Permalink
Fix Saving Sort Info in Deobf Environments
Browse files Browse the repository at this point in the history
  • Loading branch information
IntegerLimit committed Dec 30, 2024
1 parent c8d87dc commit aaf189a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ private void fillLabsCache(CallbackInfo ci) {
.add(new Pair<>(pair.getSecond().getPos(), pair.getSecond().getFacing())));
}

@Inject(method = "onGuiClosed", at = @At("HEAD"))
@Inject(method = "onGuiClosed", at = @At("HEAD"), remap = true)
private void save(CallbackInfo ci) {
LabsClientCache.sortMode = labs$getSortMode();
LabsClientCache.sortReversed = labs$getSortReversed();
Expand Down

0 comments on commit aaf189a

Please sign in to comment.