mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-03-01 00:35:36 +08:00
fix panic
This commit is contained in:
@@ -213,7 +213,7 @@ func (g *GMCmd) GMCreateGadget(userId uint32, posX, posY, posZ float64, gadgetId
|
||||
logger.Error("player is nil, uid: %v", userId)
|
||||
return
|
||||
}
|
||||
GAME_MANAGER.CreateGadget(player, &model.Vector{
|
||||
GAME_MANAGER.CreateDropGadget(player, &model.Vector{
|
||||
X: posX,
|
||||
Y: posY,
|
||||
Z: posZ,
|
||||
@@ -264,3 +264,11 @@ func (g *GMCmd) XLuaDebug(userId uint32, luacBase64 string) {
|
||||
},
|
||||
})
|
||||
}
|
||||
|
||||
func (g *GMCmd) PlayAudio() {
|
||||
PlayAudio()
|
||||
}
|
||||
|
||||
func (g *GMCmd) UpdateFrame(rgb bool) {
|
||||
UpdateFrame(rgb)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user