Might have fixed the bed-leave check.

This commit is contained in:
asofold 2012-12-18 01:16:52 +01:00
parent 1e701f01f6
commit 1011b36d6a

View File

@ -260,6 +260,10 @@ public class MovingListener extends CheckListener{
player.teleport(target, TeleportCause.PLUGIN);// TODO: schedule / other measures ?
}
}
else{
// Reset bed ...
CombinedData.getData(player).wasInBed = false;
}
}
/**