Skip to content

Commit

Permalink
Fix bug with space's used prefixlist prefix's
Browse files Browse the repository at this point in the history
  • Loading branch information
leelawd committed Mar 3, 2017
1 parent ae258de commit ef1d8d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/moddedminecraft/mmcprefix/Main.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
import java.io.IOException;
import java.nio.file.Path;

@Plugin(id = "mmcprefix", name = "mmcprefix", version = "1.1.3", description = "A simple and easy to use custom prefix manager")
@Plugin(id = "mmcprefix", name = "mmcprefix", version = "1.1.4", description = "A simple and easy to use custom prefix manager")
public class Main {

@Inject
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ private Consumer<CommandSource> processPrefix(String prefix, String name) {
plugin.sendMessage(consumer, Config.prefix + "&cYou must wait &6" + Config.prefixListCooldown + " minutes &cbefore changing your prefix again!");
}
} else {
Sponge.getCommandManager().process(Sponge.getServer().getConsole(), "setprefix " + prefix + " " + name + " custom");
Sponge.getCommandManager().process(Sponge.getServer().getConsole(), "setprefix \"" + prefix + "\" " + name + " custom");
plugin.sendMessage(consumer, Config.prefix + "&3Prefix Set to: &f" + prefix);

if (!consumer.hasPermission("mmcprefix.bypass.cooldown")) {
Expand Down

0 comments on commit ef1d8d4

Please sign in to comment.