com.mojang.brigadier.LiteralMessage Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of khl Show documentation
Show all versions of khl Show documentation
Java sdk for Kaiheila bot development
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
package com.mojang.brigadier;
public class LiteralMessage implements Message {
private final String string;
public LiteralMessage(final String string) {
this.string = string;
}
@Override
public String getString() {
return string;
}
@Override
public String toString() {
return string;
}
}