(World worldIn, BlockPos pos)
| 106 | } |
| 107 | |
| 108 | private EntityPlayer getPlayerInBed(World worldIn, BlockPos pos) |
| 109 | { |
| 110 | for (EntityPlayer entityplayer : worldIn.playerEntities) |
| 111 | { |
| 112 | if (entityplayer.isPlayerSleeping() && entityplayer.playerLocation.equals(pos)) |
| 113 | { |
| 114 | return entityplayer; |
| 115 | } |
| 116 | } |
| 117 | |
| 118 | return null; |
| 119 | } |
| 120 | |
| 121 | public boolean isFullCube() |
| 122 | { |
no test coverage detected