Closing waypoint GUI when confirming new label.

This commit is contained in:
Florian Nücke 2015-04-26 17:56:35 +02:00
parent 0e995faa8a
commit e547c877d2

View File

@ -60,6 +60,7 @@ class Waypoint(val waypoint: tileentity.Waypoint) extends GuiScreen {
if (label != waypoint.label) {
waypoint.label = label
PacketSender.sendWaypointLabel(waypoint)
mc.thePlayer.closeScreen()
}
}
else super.keyTyped(char, code)