Help for a laser class for 1.9

Discussion in 'Spigot Plugin Development' started by klein5, May 21, 2016.

  1. "c" is not null, dataWatcher is null. Do you even set that field value?
  2. Either dataWatcher is null, or toNMS() returns null. One of these two is true.
  3. Ok, thanks i fixed the error now it works but the line is not watchable.
  4. What do you mean?
  5. I cant see the laser of the guardian.
  6. I think i found my fault in the 1.8 i must add this line.
    dataWatcher.a(17, (int)((CraftEntity) target).getHandle().getId());
    How i can add these in 1.9 ?