mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2025-01-06 15:58:12 +01:00
Revert unneeded adaption (allows too fast breaking).
This commit is contained in:
parent
040c5e27ab
commit
704b4e8089
@ -599,7 +599,7 @@ public class BlockProperties {
|
|||||||
// appropriate tool
|
// appropriate tool
|
||||||
duration = blockProps.breakingTimes[toolProps.materialBase.index];
|
duration = blockProps.breakingTimes[toolProps.materialBase.index];
|
||||||
if (efficiency > 0){
|
if (efficiency > 0){
|
||||||
duration = (long) (duration / blockProps.efficiencyMod / efficiency);
|
duration = (long) (duration / blockProps.efficiencyMod);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
Loading…
Reference in New Issue
Block a user