mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 17:47:32 +00:00
Fix YesNo for Linked Item losing Access
This commit is contained in:
1 parent
6571e09911
commit
fdf6205b64
1 file changed
+2
-1
@@ -3,6 +3,7 @@ package noppes.npcs.client.gui.item;
|
||||
import kamkeel.npcs.network.PacketClient;
|
||||
import kamkeel.npcs.network.packets.request.linked.LinkedItemSavePacket;
|
||||
import kamkeel.npcs.util.ColorUtil;
|
||||
import net.minecraft.client.Minecraft;
|
||||
import net.minecraft.client.gui.GuiButton;
|
||||
import net.minecraft.client.gui.GuiYesNo;
|
||||
import net.minecraft.client.gui.GuiYesNoCallback;
|
||||
@@ -389,7 +390,7 @@ public class SubGuiLinkedItem extends SubGuiInterface implements ITextfieldListe
|
||||
linkedItem.version++;
|
||||
initGui();
|
||||
}
|
||||
mc.currentScreen = this;
|
||||
mc.currentScreen = this.parent;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user