Fix using the wrong lambda type

This commit is contained in:
Esophose 2022-05-13 14:34:17 -06:00
parent 1cc28b323e
commit f2241ed1ea
No known key found for this signature in database
GPG Key ID: DE0E013CAE5C630A
3 changed files with 4 additions and 3 deletions

View File

@ -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()

View File

@ -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

View File

@ -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));
}
}