Dimension returns the dimension struct this player is in
()
| 9 | |
| 10 | // Dimension returns the dimension struct this player is in |
| 11 | func (p *Player) Dimension() *dimension.Dimension { |
| 12 | return p.dimensionManager.Dimension(p.DimensionName()) |
| 13 | } |
| 14 | |
| 15 | func (p *Player) sendSpawnChunks() error { |
| 16 | viewDistance := p.ViewDistance() |
no test coverage detected