Only apply speed boost if walk speed is positive

Having a negative entity walk speed need not decrease the max calculated speed
This commit is contained in:
h31ix committed 2013-07-01 02:45:22 -04:00
1 parent 8773f53936
commit 17342721f1
2 files changed
+4 -6

No files matched your search

@@ -20,9 +20,6 @@ package net.h31ix.anticheat.util;
import org.bukkit.configuration.file.FileConfiguration;
import java.lang.reflect.Field;
import java.lang.reflect.Modifier;
/**
* Magic number class. Modifications to values in magic.yml will be accepted here.
* <p>