Fix bed to work with latest CanaryMod 1.2.0

This commit is contained in:
walterhiggins 2015-05-17 18:46:04 +01:00
parent 6224845e8b
commit b55be089f8
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ module.exports = function(Drone){
var head = this.setBlock(blocks.bed, bedDirections[this.dir] + 8, 0,0,1, false);
if (Drone.bountiful){
var prop = require('blockhelper').property;
var BedHalf = Packages.net.canarymod.api.world.blocks.properties.BlockPropertyEnums.BedHalf;
var BedHalf = Packages.net.canarymod.api.world.blocks.properties.helpers.BedProperties.Half;
prop(foot)
.set('facing',this.dir)
.set('part', BedHalf.FOOT);