minor UHC fix
This commit is contained in:
parent
9b1c4783ce
commit
e41b10ccb8
@ -302,9 +302,9 @@ public class AntiHack extends MiniPlugin
|
||||
out = out.substring(0, out.length() - 2);
|
||||
|
||||
String severity;
|
||||
if (total > (_strict ? 6 : 15)) severity = "Extreme";
|
||||
else if (total > (_strict ? 4 : 10)) severity = "High";
|
||||
else if (total > (_strict ? 2 : 5)) severity = "Medium";
|
||||
if (total > (_strict ? 6 : 18)) severity = "Extreme";
|
||||
else if (total > (_strict ? 4 : 12)) severity = "High";
|
||||
else if (total > (_strict ? 2 : 6)) severity = "Medium";
|
||||
else severity = "Low";
|
||||
|
||||
//Send Report
|
||||
|
@ -37,6 +37,8 @@ public abstract class ParticleGadget extends Gadget
|
||||
if (player.getGameMode() != GameMode.SURVIVAL)
|
||||
return false;
|
||||
|
||||
|
||||
|
||||
if (Manager.hideParticles())
|
||||
return false;
|
||||
|
||||
|
@ -894,12 +894,15 @@ public class UHC extends TeamGame
|
||||
event.setCancelled(true);
|
||||
}
|
||||
|
||||
@EventHandler
|
||||
@EventHandler(priority = EventPriority.MONITOR)
|
||||
public void HeadPickup(PlayerPickupItemEvent event)
|
||||
{
|
||||
if (!IsLive())
|
||||
return;
|
||||
|
||||
if (event.isCancelled())
|
||||
return;
|
||||
|
||||
if (event.getItem().getItemStack().getType() == Material.SKULL_ITEM)
|
||||
{
|
||||
UtilPlayer.message(event.getPlayer(), " ");
|
||||
|
Loading…
Reference in New Issue
Block a user