mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-24 22:26:46 +01:00
18 lines
412 B
Java
18 lines
412 B
Java
package com.gmail.nossr50.runnables.skills;
|
|
|
|
import org.bukkit.block.BlockState;
|
|
import org.bukkit.scheduler.BukkitRunnable;
|
|
|
|
public class HerbalismBlockUpdaterTask extends BukkitRunnable {
|
|
private BlockState blockState;
|
|
|
|
public HerbalismBlockUpdaterTask(BlockState blockState) {
|
|
this.blockState = blockState;
|
|
}
|
|
|
|
@Override
|
|
public void run() {
|
|
blockState.update(true);
|
|
}
|
|
}
|