krinsdeath/TeleportSuite — pull request #8 by afistofirony (2013-04-03 21:45:00+00:00)
Title: Always give the command sender some sort of input.

This PR will change the methods **executeTP** and **executeTPO** so they have a check for whether it's a "here" command (/tphere or /tpohere) - currently, the command sender doesn't receive a message if their target has silent mode on. Basically:

```java
private void executeTP(TeleportPlayer from, TeleportPlayer to, boolean here) {
if (!from.isSilent() || here) { // Is the teleport command /tphere?
to.sendLocalizedString("teleport.tp", from.getName());
}
from.sendLocalizedString("teleport.tphere", to.getName());
teleport(from, to);
```

and

`case TP: executeTP(from, to, false); break;`
`case TPHERE: executeTP(from, to, true); break;`

That way, the command sender **always** receives some sort of input.