go fmt
This commit is contained in:
@ -33,7 +33,6 @@ type Block struct {
|
|||||||
EmitLightLevel int
|
EmitLightLevel int
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
Air = Block{ID: 0, DisplayName: "Air", Name: "air", Hardness: 0, Diggable: true, DropIDs: []uint32{}, NeedsTools: map[uint32]bool{}, MinStateID: 0, MaxStateID: 0, Transparent: true, FilterLightLevel: 0, EmitLightLevel: 0}
|
Air = Block{ID: 0, DisplayName: "Air", Name: "air", Hardness: 0, Diggable: true, DropIDs: []uint32{}, NeedsTools: map[uint32]bool{}, MinStateID: 0, MaxStateID: 0, Transparent: true, FilterLightLevel: 0, EmitLightLevel: 0}
|
||||||
Stone = Block{ID: 1, DisplayName: "Stone", Name: "stone", Hardness: 1.5, Diggable: true, DropIDs: []uint32{21}, NeedsTools: map[uint32]bool{701: true, 706: true, 711: true, 716: true, 721: true, 726: true}, MinStateID: 1, MaxStateID: 1, Transparent: false, FilterLightLevel: 15, EmitLightLevel: 0}
|
Stone = Block{ID: 1, DisplayName: "Stone", Name: "stone", Hardness: 1.5, Diggable: true, DropIDs: []uint32{21}, NeedsTools: map[uint32]bool{701: true, 706: true, 711: true, 716: true, 721: true, 726: true}, MinStateID: 1, MaxStateID: 1, Transparent: false, FilterLightLevel: 15, EmitLightLevel: 0}
|
||||||
|
@ -1200,7 +1200,7 @@ var SoundNames map[SoundID]string = map[SoundID]string{
|
|||||||
}
|
}
|
||||||
|
|
||||||
// GetSoundNameByID helper method
|
// GetSoundNameByID helper method
|
||||||
func GetSoundNameByID(id SoundID) (string,bool) {
|
func GetSoundNameByID(id SoundID) (string, bool) {
|
||||||
name, ok := SoundNames[id]
|
name, ok := SoundNames[id]
|
||||||
return name, ok
|
return name, ok
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user