mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
Hacky fix for spigot bug
This commit is contained in:
@ -134,6 +134,7 @@ public class MiningManager extends SkillManager {
|
||||
int xp = 0;
|
||||
|
||||
float oreBonus = (float) (getOreBonus() / 100);
|
||||
//TODO: Pretty sure something is fucked with debrisReduction stuff
|
||||
float debrisReduction = (float) (getDebrisReduction() / 100);
|
||||
int dropMultiplier = getDropMultiplier();
|
||||
|
||||
@ -145,7 +146,8 @@ public class MiningManager extends SkillManager {
|
||||
if (BlockUtils.isOre(blockState)) {
|
||||
ores.add(blockState);
|
||||
}
|
||||
else {
|
||||
//Server bug that allows beacons to be duped when yield is set to 0
|
||||
else if(blockState.getType() != Material.BEACON) {
|
||||
debris.add(blockState);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user