Clean up anticheat clans blacklist reason
This commit is contained in:
parent
d8d1ee7832
commit
5ccc599ef1
@ -239,7 +239,7 @@ public class AntiHack extends MiniPlugin
|
|||||||
{
|
{
|
||||||
_punish.getClansPunish().loadClient(coreClient.getUniqueId(), client ->
|
_punish.getClansPunish().loadClient(coreClient.getUniqueId(), client ->
|
||||||
{
|
{
|
||||||
_punish.getClansPunish().ban(client, null, AntiHack.NAME, UtilTime.convert(90L, mineplex.core.common.util.UtilTime.TimeUnit.DAYS, mineplex.core.common.util.UtilTime.TimeUnit.MILLISECONDS), finalMessage, null, ban -> {});
|
_punish.getClansPunish().ban(client, null, AntiHack.NAME, UtilTime.convert(90L, mineplex.core.common.util.UtilTime.TimeUnit.DAYS, mineplex.core.common.util.UtilTime.TimeUnit.MILLISECONDS), ChatColor.stripColor(finalMessage).replace("\n", ""), null, ban -> {});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@ -288,7 +288,7 @@ public class AntiHack extends MiniPlugin
|
|||||||
{
|
{
|
||||||
_punish.getClansPunish().loadClient(coreClient.getUniqueId(), client ->
|
_punish.getClansPunish().loadClient(coreClient.getUniqueId(), client ->
|
||||||
{
|
{
|
||||||
_punish.getClansPunish().ban(client, null, AntiHack.NAME, UtilTime.convert(90L, mineplex.core.common.util.UtilTime.TimeUnit.DAYS, mineplex.core.common.util.UtilTime.TimeUnit.MILLISECONDS), info.getMessage(), null, ban -> {});
|
_punish.getClansPunish().ban(client, null, AntiHack.NAME, UtilTime.convert(90L, mineplex.core.common.util.UtilTime.TimeUnit.DAYS, mineplex.core.common.util.UtilTime.TimeUnit.MILLISECONDS), ChatColor.stripColor(info.getMessage()).replace("\n", ""), null, ban -> {});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user