mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-14 17:56:34 -04:00
Merge branch 'master-MC1.7.10' of github.com:MightyPirates/OpenComputers into master-MC1.8
Conflicts: src/main/scala/li/cil/oc/server/component/UpgradeNavigation.scala
This commit is contained in:
commit
f7ff8afdab
@ -4,4 +4,6 @@
|
||||
|
||||
The navigation upgrade provides location and orientation information to devices it is installed in. The coordinates the upgrade provides are relative to the center of the map that was used to craft the upgrade, and the functional range is based on the size of that map.
|
||||
|
||||
The map inside a Navigation upgrade can be changed by re-crafting the upgrade with a new map. The old map will be returned to the player.
|
||||
The map inside a Navigation upgrade can be changed by re-crafting the upgrade with a new map. The old map will be returned to the player.
|
||||
|
||||
Note that this upgrade is a lot more useful when used in combination with one or more [waypoints](../block/waypoint.md).
|
@ -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)
|
||||
|
@ -303,7 +303,7 @@ class NativeLuaArchitecture(val machine: api.machine.Machine) extends Architectu
|
||||
|
||||
apis.foreach(_.initialize())
|
||||
|
||||
lua.load(classOf[Machine].getResourceAsStream(Settings.scriptPath + "machine.lua"), "=kernel", "t")
|
||||
lua.load(classOf[Machine].getResourceAsStream(Settings.scriptPath + "machine.lua"), "=machine", "t")
|
||||
lua.newThread() // Left as the first value on the stack.
|
||||
|
||||
true
|
||||
|
Loading…
x
Reference in New Issue
Block a user