mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-26 06:42:56 +00:00
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:
2 files changed
+8
-8
No files matched your search
+7
-7
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user