1
0
forked from Clones/Controlify

fix crash when exiting worlds

This commit is contained in:
isXander
2023-02-16 13:00:41 +00:00
parent 29b01fdbbb
commit d3e709469e

View File

@ -87,7 +87,7 @@ public class InGameButtonGuide implements ButtonGuideRegistry {
leftGuides.clear();
rightGuides.clear();
if (!controller.config().showGuide)
if (!controller.config().showGuide || minecraft.screen != null)
return;
for (var actionPredicate : guidePredicates) {