Solved Best way to store a block?

Discussion in 'Spigot Plugin Development' started by Wilsoon, Feb 28, 2020.

Thread Status:
Not open for further replies.
  1. I need to use a Block I defined in my Command class in my Event class so as to replace the block back, what's the most efficient way to do this?
     
  2. You can put the Block into a field in the plugin instance an then set it in on class and get it in another (by passing the instance through the constructor)
     
  3. Done. Thanks.
     
Thread Status:
Not open for further replies.