Permalink
Browse files

Pipes now drop the Facades when destroyed

  • Loading branch information...
1 parent 9840c0e commit f112d903635d7ee8a25ae1c212c5aab00abd5e23 @Krapht Krapht committed Jul 15, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 common/net/minecraft/src/buildcraft/transport/Pipe.java
@@ -484,6 +484,12 @@ public void onBlockRemoval() {
if (hasGate())
gate.dropGate(worldObj, xCoord, yCoord, zCoord);
+
+ for (Orientations direction : Orientations.dirs()){
+ if (container.hasFacade(direction)){
+ container.dropFacade(direction);
+ }
+ }
}
public void setTrigger(int position, Trigger trigger) {

0 comments on commit f112d90

Please sign in to comment.