Update terbaru

Menambahkan bypas nama gwa
Nambahkan ban/unban/ban list
menambahkan world clasik ringan
This commit is contained in:
2026-07-11 00:33:35 +07:00
parent 84ff0edd28
commit 781b01c2bf
11 changed files with 547 additions and 39 deletions
+2 -1
View File
@@ -195,6 +195,7 @@ func (conf Config) New() *Server {
srv.listeners = append(srv.listeners, l)
}
_ = player.Bans.Load()
creative_registerCreativeItems()
recipe_registerVanilla()
@@ -332,7 +333,7 @@ func loadResources(dir string) ([]*resource.Pack, error) {
func loadGenerator(dim world.Dimension) world.Generator {
switch dim {
case world.Overworld:
return generator.NewFlat(biome.Plains{}, []world.Block{block.Grass{}, block.Dirt{}, block.Dirt{}, block.Bedrock{}})
return generator.NewVanillaLightweight(world.DefaultBlockRegistry)
case world.Nether:
return generator.NewFlat(biome.NetherWastes{}, []world.Block{block.Netherrack{}, block.Netherrack{}, block.Netherrack{}, block.Bedrock{}})
case world.End: