mirror of
https://github.com/StarWishsama/Slimefun4.git
synced 2024-09-20 03:35:51 +00:00
did requested changes
This commit is contained in:
parent
15dce08769
commit
30386fbcb5
@ -37,11 +37,7 @@ public class BeeWingsListener implements Listener {
|
||||
@EventHandler(ignoreCancelled = true)
|
||||
public void onApproachGround(EntityToggleGlideEvent e) {
|
||||
|
||||
if (wings == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!e.isGliding() || wings.isDisabled() || !(e.getEntity() instanceof Player)) {
|
||||
if (wings == null || !e.isGliding() || wings.isDisabled() || !(e.getEntity() instanceof Player)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user