forked from Clones/Controlify
fix crash when exiting worlds
This commit is contained in:
@ -87,7 +87,7 @@ public class InGameButtonGuide implements ButtonGuideRegistry {
|
|||||||
leftGuides.clear();
|
leftGuides.clear();
|
||||||
rightGuides.clear();
|
rightGuides.clear();
|
||||||
|
|
||||||
if (!controller.config().showGuide)
|
if (!controller.config().showGuide || minecraft.screen != null)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
for (var actionPredicate : guidePredicates) {
|
for (var actionPredicate : guidePredicates) {
|
||||||
|
Reference in New Issue
Block a user