mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 11:45:51 +00:00
Apparently SlimefunPlugin.instance is private now.
This commit is contained in:
parent
bf3b04a4c5
commit
37bacaa8cb
@ -98,7 +98,7 @@ public class ClimbingPick extends SimpleSlimefunItem<ItemUseHandler> implements
|
|||||||
velocity.setY(launch);
|
velocity.setY(launch);
|
||||||
|
|
||||||
users.add(p.getUniqueId());
|
users.add(p.getUniqueId());
|
||||||
Bukkit.getScheduler().runTaskLater(SlimefunPlugin.instance, () -> users.remove(p.getUniqueId()), 4L);
|
Bukkit.getScheduler().runTaskLater(SlimefunPlugin.instance(), () -> users.remove(p.getUniqueId()), 4L);
|
||||||
}
|
}
|
||||||
|
|
||||||
ClimbingPickLaunchEvent event = new ClimbingPickLaunchEvent(p, velocity, this, item, block);
|
ClimbingPickLaunchEvent event = new ClimbingPickLaunchEvent(p, velocity, this, item, block);
|
||||||
|
Loading…
Reference in New Issue
Block a user