mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-09-18 19:56:17 -04:00
Merge branch 'master' of github.com:MightyPirates/OpenComputers into master-MC1.7.10
Conflicts: src/main/scala/li/cil/oc/common/event/ChunkloaderUpgradeHandler.scala
This commit is contained in:
commit
15ed83494e
@ -60,7 +60,7 @@ object ChunkloaderUpgradeHandler extends LoadingCallback {
|
||||
|
||||
def updateLoadedChunk(loader: UpgradeChunkloader) {
|
||||
val centerChunk = new ChunkCoordIntPair(math.floor(loader.owner.xPosition).toInt >> 4, math.floor(loader.owner.zPosition).toInt >> 4)
|
||||
val robotChunks = (for (x <- -1 to 1; z <- -1 to 1) yield new ChunkCoordIntPair(centerChunk.chunkXPos+x, centerChunk.chunkZPos+z))
|
||||
val robotChunks = (for (x <- -1 to 1; z <- -1 to 1) yield new ChunkCoordIntPair(centerChunk.chunkXPos + x, centerChunk.chunkZPos + z)).toSet
|
||||
|
||||
loader.ticket.foreach(ticket => {
|
||||
ticket.getChunkList.collect {
|
||||
|
Loading…
x
Reference in New Issue
Block a user