mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
Closing waypoint GUI when confirming new label.
This commit is contained in:
parent
0e995faa8a
commit
e547c877d2
@ -60,6 +60,7 @@ class Waypoint(val waypoint: tileentity.Waypoint) extends GuiScreen {
|
|||||||
if (label != waypoint.label) {
|
if (label != waypoint.label) {
|
||||||
waypoint.label = label
|
waypoint.label = label
|
||||||
PacketSender.sendWaypointLabel(waypoint)
|
PacketSender.sendWaypointLabel(waypoint)
|
||||||
|
mc.thePlayer.closeScreen()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else super.keyTyped(char, code)
|
else super.keyTyped(char, code)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user