mirror of
https://github.com/TotalFreedomMC/PlayerParticles.git
synced 2025-02-05 06:03:00 +00:00
Fix using the wrong lambda type
This commit is contained in:
parent
1cc28b323e
commit
f2241ed1ea
3 changed files with 4 additions and 3 deletions
|
@ -10,7 +10,7 @@ sourceCompatibility = 1.8
|
|||
targetCompatibility = 1.8
|
||||
compileJava.options.encoding = 'UTF-8'
|
||||
group = 'dev.esophose'
|
||||
version = '8.0-SNAPSHOT'
|
||||
version = '8.0'
|
||||
|
||||
java {
|
||||
withJavadocJar()
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
=== v8.0 ===
|
||||
+ Added support for Particle Packs
|
||||
+ Added support for Particle Packs (more information on this coming soon)
|
||||
+ Added setting toggle-on-combat-include-mobs
|
||||
* Fixed the player-particles WorldGuard region not working and throwing errors due to a WorldGuardWrapper bug
|
||||
* Fixed particle effects now save the pitch/yaw of the player when they are created
|
||||
* Fixed an error when doing /pp reload if a player has the GUI open
|
||||
* The icosphere style now fades between dust colors when using the dust_color_transition effect
|
||||
|
|
|
@ -108,7 +108,7 @@ public class GuiManager extends Manager implements Listener, Runnable {
|
|||
if (Bukkit.isPrimaryThread()) {
|
||||
toClose.forEach(Player::closeInventory);
|
||||
} else {
|
||||
Bukkit.getScheduler().runTask(this.playerParticles, x -> toClose.forEach(Player::closeInventory));
|
||||
Bukkit.getScheduler().runTask(this.playerParticles, () -> toClose.forEach(Player::closeInventory));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue