mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-15 18:30:27 -04:00
Merge pull request #602 from natedogith1/master-MC1.7.10
Fixed doc in Tablet.scala
This commit is contained in:
commit
13cd48dd8d
@ -17,6 +17,6 @@ class Tablet(val tablet: TabletWrapper) extends prefab.ManagedEnvironment {
|
|||||||
|
|
||||||
// ----------------------------------------------------------------------- //
|
// ----------------------------------------------------------------------- //
|
||||||
|
|
||||||
@Callback(doc = """function():boolean -- Whether the local bus interface is enabled.""")
|
@Callback(doc = """function():number -- Gets the pitch of the player holding the tablet.""")
|
||||||
def getPitch(context: Context, args: Arguments): Array[AnyRef] = result(tablet.player.rotationPitch)
|
def getPitch(context: Context, args: Arguments): Array[AnyRef] = result(tablet.player.rotationPitch)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user