partial support for 1.8 for drone - (not there yet, only works for blocks with no facing data)

This commit is contained in:
walterhiggins 2014-12-25 11:00:16 +00:00
parent c62da83544
commit fe46987d71

View file

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