-
Notifications
You must be signed in to change notification settings - Fork 168
Open
Labels
bugSomething isn't workingSomething isn't working
Description
How to reproduce:
func main() {
slog.SetLogLoggerLevel(slog.LevelDebug)
chat.Global.Subscribe(chat.StdoutSubscriber{})
conf, err := readConfig(slog.Default())
if err != nil {
panic(err)
}
srv := conf.New()
srv.CloseOnProgramEnd()
srv.World().SetSpawn(cube.Pos{0, 208, 0})
time.Sleep(time.Second*2)
fmt.Printf("Spawn: %v\n", srv.World().Spawn()) // magically changed
srv.Listen()
for p := range srv.Accept() {
_ = p
}
}Causes
- WorldProvider and WorldSettings are shared across all three worlds (
srv.World(),srv.Nether(), andsrv.End()). So, if the spawn position is invalid in any dimension, it will automatically correct itself during a tick.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working