Jump to content

{1.6.4}Insomnia (Custom bed issues)


Tenyar97

Recommended Posts

Ahoj všetci,

 

I've made a custom bed(well, I shouldn't say that -- I copied the relevant code) but I am having a slight problem with it.

 

I am able to place it, but interacting with it is a bit buggy. If it is during the day and I right click it, the game will tell me that I can only sleep at night, however, if I interact with it at night, the sleep animation will start to play, and then cancel. it is almost as if it thinks "Goodnight, oh, wait, something isn't right here, wake up!" I've included a video to show what I mean, I'll also post the code.

 

TL;DR

The bed places fine, but I can't sleep in it.

 

Thank you for any and all help! :D

 

(I don't care about textures, it's not that I don't know how to do them; I just haven't bothered to add any yet.;))

 

MyBed

http://pastebin.com/e3JgRbm7

 

My_Bed

http://pastebin.com/qtNRQiaL

 

BedPlacer

http://pastebin.com/ssdGNvwJ

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.