Merge pull request #602 from natedogith1/master-MC1.7.10

Fixed doc in Tablet.scala
This commit is contained in:
Florian "Sangar" Nücke 2014-10-17 19:52:43 +02:00
commit 13cd48dd8d

View File

@ -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)
} }