Upload JAR
This commit is contained in:
parent
5cdbe61166
commit
fe974035aa
3 changed files with 2 additions and 6 deletions
Binary file not shown.
Before Width: | Height: | Size: 18 KiB |
Binary file not shown.
|
@ -132,16 +132,12 @@ public class ChatProcessing {
|
||||||
int index;
|
int index;
|
||||||
while ((index = nwithoutformatting.indexOf("§k")) != -1)
|
while ((index = nwithoutformatting.indexOf("§k")) != -1)
|
||||||
nwithoutformatting = nwithoutformatting
|
nwithoutformatting = nwithoutformatting
|
||||||
.replace("§k" + nwithoutformatting.charAt(index + 2), ""); // Support
|
.replace("§k" + nwithoutformatting.charAt(index + 2), ""); // Support for one random char
|
||||||
// for
|
|
||||||
// one
|
|
||||||
// random
|
|
||||||
// char
|
|
||||||
while ((index = nwithoutformatting.indexOf('§')) != -1)
|
while ((index = nwithoutformatting.indexOf('§')) != -1)
|
||||||
nwithoutformatting = nwithoutformatting
|
nwithoutformatting = nwithoutformatting
|
||||||
.replace("§" + nwithoutformatting.charAt(index + 1), "");
|
.replace("§" + nwithoutformatting.charAt(index + 1), "");
|
||||||
if (!match.equalsIgnoreCase(nwithoutformatting))
|
if (!match.equalsIgnoreCase(nwithoutformatting))
|
||||||
return false; // TODO
|
continue; // TODO
|
||||||
Player p = Bukkit.getPlayer(PlayerListener.nicknames.get(n));
|
Player p = Bukkit.getPlayer(PlayerListener.nicknames.get(n));
|
||||||
if (p == null) {
|
if (p == null) {
|
||||||
PluginMain.Instance.getLogger().warning(
|
PluginMain.Instance.getLogger().warning(
|
||||||
|
|
Loading…
Reference in a new issue