This commit is contained in:
parent
4d01bdaeb8
commit
adf6ec31ef
3 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@ org.gradle.parallel=true
|
||||||
org.gradle.caching=false
|
org.gradle.caching=false
|
||||||
|
|
||||||
# Project Info
|
# Project Info
|
||||||
version=1.8.1
|
version=1.8.2
|
||||||
group=net.pietru
|
group=net.pietru
|
||||||
id=omni_power
|
id=omni_power
|
||||||
|
|
||||||
|
|
|
@ -88,6 +88,7 @@ public class HoloBlock extends Entity {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
public void write(CRBinSerializer serial) {
|
public void write(CRBinSerializer serial) {
|
||||||
//super.write(serial);
|
//super.write(serial);
|
||||||
//Probably disable for Hologram it can be recreated next time game starts
|
//Probably disable for Hologram it can be recreated next time game starts
|
||||||
|
|
|
@ -142,6 +142,8 @@ public class Power implements IBlockAction {
|
||||||
BlockState state = pos.getBlockState();
|
BlockState state = pos.getBlockState();
|
||||||
if (state==null)
|
if (state==null)
|
||||||
return false;
|
return false;
|
||||||
|
if (state.stringId==null)
|
||||||
|
return false;
|
||||||
return state.stringId.contains(dir) || state.stringId.contains("any_in_power") || !(
|
return state.stringId.contains(dir) || state.stringId.contains("any_in_power") || !(
|
||||||
state.stringId.contains("xp_power")||
|
state.stringId.contains("xp_power")||
|
||||||
state.stringId.contains("xm_power")||
|
state.stringId.contains("xm_power")||
|
||||||
|
|
Loading…
Reference in a new issue