Merge pull request #1274 from Patrikkk/fix-junctionbox

Fix Junction Box permission issue
This commit is contained in:
Rodrigo 2016-09-02 21:54:10 +01:00 committed by GitHub
commit 60b7e7d574
2 changed files with 5 additions and 0 deletions

View file

@ -1741,6 +1741,10 @@ namespace TShockAPI
continue;
}
// Junction Box
if (tile.type == TileID.WirePipe)
return false;
// Orientable tiles
if (tile.type == newtile.Type && orientableTiles.Contains(tile.type))
{