Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No matching method event.setDropItems(bool) #150

Open
ppowicz opened this issue Mar 29, 2020 · 1 comment
Open

No matching method event.setDropItems(bool) #150

ppowicz opened this issue Mar 29, 2020 · 1 comment

Comments

@ppowicz
Copy link

ppowicz commented Mar 29, 2020

Hello, so I got this error and I don't know if it's just me or not.

To reproduce

import:
    org.bukkit.event.block.BlockBreakEvent

on BlockBreakEvent:
    event.setDropItems(false)

Expected behavior
Items spawn normally and I get an error:
No matching method: BlockBreakEvent#setDropItems called with (false (Boolean))
when normally I should be able to call it with bool (see spigot docs).

Server information

  • skript-mirror: 2.0.0-SNAPSHOT
  • Skript: 2.2-dev23
  • Bukkit: git-Spigot-21fe707-e1ebe52 1.8.8
  • Minecraft: 1.8.8
  • Java: ??
  • OS: ??
@Pikachu920
Copy link

Pikachu920 commented Mar 30, 2020

This method didn't exist in 1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants