Fix some misc. bugs
This commit is contained in:
		| @@ -68,7 +68,8 @@ public class BlockDetector extends BlockMachine | |||||||
| 		return getWeakPower(state, world, pos, side); | 		return getWeakPower(state, world, pos, side); | ||||||
| 	} | 	} | ||||||
|  |  | ||||||
| 	public boolean canProvidePower() | 	@Override | ||||||
|  | 	public boolean canProvidePower(IBlockState state) | ||||||
| 	{ | 	{ | ||||||
| 		return true; | 		return true; | ||||||
| 	} | 	} | ||||||
|   | |||||||
| @@ -37,7 +37,7 @@ public class TileConstructor extends TileMachine implements ICompareSetting | |||||||
|  |  | ||||||
| 				if (took != null) | 				if (took != null) | ||||||
| 				{ | 				{ | ||||||
| 					worldObj.setBlockState(front, ((ItemBlock) took.getItem()).getBlock().getDefaultState(), 1 | 2); | 					worldObj.setBlockState(front, ((ItemBlock) took.getItem()).getBlock().getStateFromMeta(took.getItemDamage()), 1 | 2); | ||||||
| 				} | 				} | ||||||
| 			} | 			} | ||||||
| 		} | 		} | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Raoul Van den Berge
					Raoul Van den Berge