How to connect an IronBar to a block

Discussion in 'Plugin Development' started by cdnyassuo34, Jan 21, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    cdnyassuo34

    Hi, I am currently creating a plugin that generate structures but , when I try to summon an IronBar with this:
    world.getBlockAt(BarLoc).setType(Material.IRON_BARS);
    the IronBar just don't connect to any nearby blocks ... is there a way to update it or connect it to other blocks ?
    if yes I would be very happy to have the answer ^^
     
  2. Offline

    timtower Administrator Administrator Moderator

  3. Offline

    cdnyassuo34

    oh thanks ^^ I will try
     
Thread Status:
Not open for further replies.

Share This Page