Update terbaru
Menambahkan bypas nama gwa Nambahkan ban/unban/ban list menambahkan world clasik ringan
This commit is contained in:
+2
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user