1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-29 14:05:25 +01:00

Correct Import for SuperAbilityType

This commit is contained in:
Josiah Jones 2019-03-07 13:11:53 -06:00 committed by GitHub
parent 9b2945df50
commit 2df210d4aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ import org.bukkit.entity.Player;
import org.bukkit.plugin.Plugin;
import com.gamingmesh.jobs.Jobs;
import com.gmail.nossr50.datatypes.skills;
import com.gmail.nossr50.datatypes.skills.SuperAbilityType;
public class McMMOManager {
@ -48,7 +48,7 @@ public class McMMOManager {
return -(1 - Jobs.getGCManager().superBreakerMultiplier);
InfoMap.remove(SuperAbilityType.SUPER_BREAKER);
}
} else {
} else { //Don't report errors if using pre-overhaul mcmmo
Long t = InfoMap.get(AbilityType.TREE_FELLER);
if (t != null) {
if (t < System.currentTimeMillis())