Fix Redstone
This commit is contained in:
parent
3183ae85f2
commit
563b5b60ea
4 changed files with 7 additions and 3 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,4 +1,7 @@
|
|||
*.class
|
||||
bin
|
||||
run
|
||||
build
|
||||
|
||||
# Mobile Tools for Java (J2ME)
|
||||
.mtj.tmp/
|
||||
|
|
|
@ -3,7 +3,7 @@ buildscript {
|
|||
mavenCentral()
|
||||
maven {
|
||||
name = "forge"
|
||||
url = "http://files.minecraftforge.net/maven"
|
||||
url = "https://files.minecraftforge.net/maven"
|
||||
}
|
||||
maven {
|
||||
name = "sonatype"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
forgeVersion=1.7.10-10.13.2.1236
|
||||
forgeVersion=1.7.10-10.13.4.1614-1.7.10
|
||||
ic2Version=net.industrial-craft:industrialcraft-2:2.2.660-experimental:dev
|
||||
|
||||
newAPMVersion=2.0.1A
|
||||
|
|
|
@ -231,6 +231,7 @@ public class BlockAdvPwrMan extends BlockContainer{
|
|||
|
||||
@Override
|
||||
public int isProvidingWeakPower(IBlockAccess block, int x, int y, int z, int side){
|
||||
System.out.println("Get Redstone Power");
|
||||
TileEntity tile = block.getTileEntity(x, y, z);
|
||||
return tile instanceof TEStorageMonitor && ((TEStorageMonitor) tile).isPowering ? 15 : 0; // TODO
|
||||
// Verify
|
||||
|
@ -246,7 +247,7 @@ public class BlockAdvPwrMan extends BlockContainer{
|
|||
|
||||
@Override
|
||||
public boolean canProvidePower(){
|
||||
return false; // Old means of causing visual RedPower wire connections.
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue