Fix math being incorrect for area the miner mines. Note: This does not mean we are supporting 1.12 in anyway shape or form, I just had an instance of it open in dev to more easily compare/validate some numbers and decided to apply a fix to something broken in a not even released commit just so that the 1.12 branch on github isn't *more* broken than the last released version we had made for 1.12

This commit is contained in:
Richard Freimer committed 2020-11-20 14:04:52 -05:00
1 parent c2144495bd
commit 84a5196136
2 files changed
+8 -8

No files matched your search

+7 -7
View File
@@ -42,7 +42,7 @@ repositories {
}
maven {
name 'prog'
url 'http://dvs1.progwml6.com/files/maven'
url 'https://dvs1.progwml6.com/files/maven'
}
maven {
name 'tesla'
@@ -54,11 +54,7 @@ repositories {
}
maven {
name 'opencomputers'
url 'http://maven.cil.li/'
}
maven {
name 'hwyla'
url 'https://tehnut.info/maven'
url 'https://maven.cil.li/'
}
maven {
name 'CoFH Maven'
@@ -74,7 +70,7 @@ repositories {
}
maven {
name 'ic2'
url 'http://maven.ic2.player.to'
url 'https://maven.ic2.player.to'
}
maven {
name 'BlameJared - Crafttweaker'
@@ -84,6 +80,10 @@ repositories {
name 'thiakil'
url 'https://maven.thiakil.com'
}
maven {
name 'hwyla'
url 'https://maven.tehnut.info'
}
}
group = "mekanism"
@@ -479,7 +479,7 @@ public class TileEntityDigitalMiner extends TileEntityElectricBlock implements I
public void start() {
if (searcher.state == State.IDLE) {
searcher.setChunkCache(new ChunkCache(getWorld(), getStartingCoord().getPos(), getStartingCoord().getPos().add(radius, maxY - minY, radius), 0));
searcher.setChunkCache(new ChunkCache(getWorld(), getStartingCoord().getPos(), getStartingCoord().getPos().add(getDiameter(), maxY - minY + 1, getDiameter()), 0));
searcher.start();
}
running = true;