geforkt von Mirrors/Velocity
Fix command block tab complete on <=1.12.2
Dieser Commit ist enthalten in:
Ursprung
50b50f3cbb
Commit
667610c251
@ -417,10 +417,7 @@ public class ClientPlaySessionHandler implements MinecraftSessionHandler {
|
|||||||
* @param response the tab complete response from the backend
|
* @param response the tab complete response from the backend
|
||||||
*/
|
*/
|
||||||
public void handleTabCompleteResponse(TabCompleteResponse response) {
|
public void handleTabCompleteResponse(TabCompleteResponse response) {
|
||||||
if (outstandingTabComplete != null) {
|
if (outstandingTabComplete != null && !outstandingTabComplete.isAssumeCommand()) {
|
||||||
if (outstandingTabComplete.isAssumeCommand()) {
|
|
||||||
return; // used for command blocks which can't run Velocity commands anyway
|
|
||||||
}
|
|
||||||
if (outstandingTabComplete.getCommand().startsWith("/")) {
|
if (outstandingTabComplete.getCommand().startsWith("/")) {
|
||||||
this.finishCommandTabComplete(outstandingTabComplete, response);
|
this.finishCommandTabComplete(outstandingTabComplete, response);
|
||||||
} else {
|
} else {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren