Fix typo in putSign() function
This commit is contained in:
parent
287ad49d7b
commit
c62da83544
1 changed files with 2 additions and 2 deletions
|
@ -614,7 +614,7 @@ function putSign( drone, x, y, z, world, texts, blockId, meta, immediate ) {
|
||||||
setLine = function( block, i, text) {
|
setLine = function( block, i, text) {
|
||||||
var sign = block.getTileEntity();
|
var sign = block.getTileEntity();
|
||||||
sign.setTextOnLine( text, i );
|
sign.setTextOnLine( text, i );
|
||||||
sign.upate();
|
sign.update();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if (__plugin.bukkit){
|
if (__plugin.bukkit){
|
||||||
|
@ -622,7 +622,7 @@ function putSign( drone, x, y, z, world, texts, blockId, meta, immediate ) {
|
||||||
setLine = function( block, i, text) {
|
setLine = function( block, i, text) {
|
||||||
var sign = block.state;
|
var sign = block.state;
|
||||||
sign.setLine( i, text );
|
sign.setLine( i, text );
|
||||||
sign.upate(true);
|
sign.update(true);
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
if ( isSign(block) ) {
|
if ( isSign(block) ) {
|
||||||
|
|
Reference in a new issue