mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 11:48:02 -04:00
minor fixes again
This commit is contained in:
parent
a2a2b5f9de
commit
1721e58ab5
@ -49,7 +49,7 @@ class UpgradeLeash(val host: Entity with li.cil.oc.api.internal.Drone) extends A
|
|||||||
|
|
||||||
val leashedEntities = mutable.Set.empty[UUID]
|
val leashedEntities = mutable.Set.empty[UUID]
|
||||||
|
|
||||||
override def position = BlockPosition(host.asInstanceOf[Entity])
|
override def position = BlockPosition(host.posX, host.posY, host.posZ)
|
||||||
|
|
||||||
@Callback(doc = """function(side:number):boolean, string -- Tries to put an entity on the specified side of the device onto a leash.""")
|
@Callback(doc = """function(side:number):boolean, string -- Tries to put an entity on the specified side of the device onto a leash.""")
|
||||||
def leash(context: Context, args: Arguments): Array[AnyRef] = {
|
def leash(context: Context, args: Arguments): Array[AnyRef] = {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user