partial support for 1.8 for drone - (not there yet, only works for blocks with no facing data)
This commit is contained in:
parent
c62da83544
commit
fe46987d71
1 changed files with 1 additions and 3 deletions
|
@ -578,9 +578,7 @@ function putBlock( x, y, z, blockId, metadata, world ) {
|
||||||
var block = world.getBlockAt( x, y, z );
|
var block = world.getBlockAt( x, y, z );
|
||||||
if ( block.typeId != blockId || block.data != metadata ) {
|
if ( block.typeId != blockId || block.data != metadata ) {
|
||||||
if (__plugin.canary) {
|
if (__plugin.canary) {
|
||||||
block.typeId = blockId;
|
world.setBlockAt(x, y, z, blockId, metadata);
|
||||||
block.data = metadata;
|
|
||||||
block.update();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (__plugin.bukkit) {
|
if (__plugin.bukkit) {
|
||||||
|
|
Reference in a new issue