close #393 once this gets merged

This commit is contained in:
petrak@ 2023-02-26 14:49:27 -06:00
parent e24e642432
commit ed1c1b45e7

View file

@ -66,7 +66,7 @@ public record MsgNewSpellPatternAck(ExecutionClientView info, int index) impleme
}
var screen = Minecraft.getInstance().screen;
if (screen instanceof GuiSpellcasting spellGui) {
if (self.info().isStackClear()) {
if (self.info().isStackClear() && self.info.getRavenmind() == null) {
mc.setScreen(null);
} else {
spellGui.recvServerUpdate(self.info(), self.index());