Players walking on half-slabs over air should not trigger fly checks

This commit is contained in:
Adam committed 2012-05-13 21:01:37 -04:00
1 parent b508aa0fed
commit a95f05d683
3 files changed
+2 -2

No files matched your search

View File
Whitespace-only changes.
@@ -217,7 +217,7 @@ public class Backend
if(y1 == y2 && !isMovingExempt(player) && player.getVehicle() == null && player.getFallDistance() == 0 && !Utilities.isOnLilyPad(player))
{
String name = player.getName();
if(Utilities.cantStandAt(block) && !Utilities.isOnLilyPad(player))
if(Utilities.cantStandAt(block) && !Utilities.isOnLilyPad(player) && !Utilities.canStand(player.getLocation().getBlock()))
{
int violation = 1;
if(!flightViolation.containsKey(name))
+1 -1
View File
@@ -12,6 +12,6 @@ Events:
System:
#Turning auto-update off is a _BAD_ idea. You will no longer be protected by the latest hacks/cheats if you do so.
#AntiCheat will never bother you about updates if this is on, but if you turn it off you will have to manuall update.
#AntiCheat will never bother you about updates if this is on, but if you turn it off you will have to manually update.
Auto update: true
Log to console: false