Fix issue #135
This commit is contained in:
parent
35d67fe6e4
commit
7b7d8cb35c
1 changed files with 1 additions and 1 deletions
|
@ -684,7 +684,7 @@ var putSign = function( texts, x, y, z, blockId, meta, world, immediate ) {
|
||||||
var Drone = function( x, y, z, dir, world ) {
|
var Drone = function( x, y, z, dir, world ) {
|
||||||
this.record = false;
|
this.record = false;
|
||||||
var usePlayerCoords = false;
|
var usePlayerCoords = false;
|
||||||
var player = self;
|
var player = (typeof self !== 'undefined' ? self : null);
|
||||||
if ( x instanceof bkPlayer ) {
|
if ( x instanceof bkPlayer ) {
|
||||||
player = x;
|
player = x;
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue