mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-10-26 14:24:25 +00:00
Fixed error in TileEntityVisAuraProvider that prevented the booster from working correctly. Fixes #120.
This commit is contained in:
1 parent
7fa6eb8953
commit
275f03ccba
1 file changed
+1
-1
@@ -65,7 +65,7 @@ public class TileEntityVisAuraProvider extends TileEntity implements IMagicApiar
|
||||
VisAuraCharge auraCharge = currentCharge.getValue();
|
||||
|
||||
if (auraCharge.charges < MAX_CHARGES && (tick % type.tickRate) == 0) {
|
||||
auraCharge.vis += getVisFromNet(aspectMap.get(type));
|
||||
auraCharge.vis += getVisFromNet(aspectMap.get(type.type));
|
||||
if (auraCharge.vis >= VIS_PER_CHARGE) {
|
||||
auraCharge.vis -= VIS_PER_CHARGE;
|
||||
auraCharge.charges++;
|
||||
|
||||
Reference in new issue
Block a user