up3
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
This commit is contained in:
@@ -27,12 +27,8 @@ func main() {
|
|||||||
srv.Listen()
|
srv.Listen()
|
||||||
|
|
||||||
for p := range srv.Accept() {
|
for p := range srv.Accept() {
|
||||||
if p.Name() == "XTarnaWijaya" {
|
|
||||||
p.SetGameMode(world.GameModeCreative)
|
p.SetGameMode(world.GameModeCreative)
|
||||||
p.Message("Kamu adalah owner!")
|
p.Message("Selamat datang!")
|
||||||
} else {
|
|
||||||
p.SetGameMode(world.GameModeSurvival)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user