Remote Control : Auto accept tpa and tpahere

- Added Essentials teleportation request in bot api
- Used the api in remote control to auto accept
This commit is contained in:
ORelio 2014-06-14 13:51:30 +02:00
parent 9456e82923
commit f0b071ddea
2 changed files with 27 additions and 2 deletions

View file

@ -46,6 +46,10 @@ namespace MinecraftClient.ChatBots
break;
}
}
else if (isTeleportRequest(text, ref sender) && Settings.Bots_Owners.Contains(sender.ToLower()))
{
SendText("/tpaccept");
}
}
}
}