Commit Graph

11 Commits

Author SHA1 Message Date
SmallJoker ea49eb3f3d Beds, boats: Replace deprecated get_look_yaw/set_look_yaw 2016-07-27 21:39:22 +01:00
adrido d89bb69a22 Beds: Only register respawn callbacks if respawn is enabled 2016-07-15 22:00:57 +01:00
Tim 4473627de0 Remove unused and clean up missused variable-value assignments.
* Unused variables
* Unused values (assigned to variables, but overwritten before use)
* Defining already defined variables instead of reassigning to them.
2016-07-15 21:58:49 +01:00
tenplus1 d7a7456007 Beds: Save respawn position when entering bed, only read bed spawns once
No longer require night to be skipped for resawn position to be saved
Remove constant beds.read_spawns() calls when a player joins as this
is only required once
2016-07-13 14:45:30 +01:00
paramat 45bc0b245f Beds: Fix code style issues 2016-03-09 02:44:32 +00:00
Marcin b292975fbc Use PI variable rather than unclear constant 2015-10-20 00:26:19 +01:00
LeMagnesium 279b85fc45 Add option to disable bed's night skip - Solve second point of #512 by adding a setting, `enable_bed_night_skip` , with default value of `true`. 2015-09-29 01:25:40 +01:00
Novatux 3669ca0a83 Make beds not skip night if nobody is online 2015-05-14 14:41:26 +02:00
BlockMen 41837e6193 Fix beds respawn settings check 2015-03-06 19:29:16 +01:00
BlockMen 2a6050e552 Add option to disable bed respawn, better recipe for fancy bed 2015-03-06 10:46:05 +01:00
BlockMen edb02e9d33 Add beds 2015-02-24 20:59:04 +01:00