We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 76dd318 commit 24568fdCopy full SHA for 24568fd
1 file changed
src/main/js/modules/drone/index.js
@@ -353,12 +353,11 @@ function makeTypeIdAndDataSetter() {
353
};
354
} catch (e) {
355
console.log(
356
- 'Drone not available on this server - no setTypeIdAndData support'
+ 'Drone support is experimental on 1.15.2 and above, and may be broken...'
357
);
358
return function(block, typeId, data, applyPhysics) {
359
- throw new Error(
360
- `Drone not supported on versions > 1.15.1 - no setTypeIdAndData support`
361
- );
+ block.setBlockData(data, applyPhysics);
+ block.setType(typeId);
362
363
}
364
0 commit comments