[SPIGOT-5965] BlockRedstoneEvent.setNewCurrent(0) crashes server Created: 08/Jul/20 Updated: 08/Jul/20 Resolved: 08/Jul/20 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | SirYwell | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | 1.16.1, redstone |
Version: | git-Spigot-c3a49df-2f18108 (MC: 1.16.1) |
Guidelines Read: | Yes |
Description |
I wrote an example plugin: public class TestPlugin extends JavaPlugin implements Listener { @Override public void onEnable() { Bukkit.getPluginManager().registerEvents(this, this); } @EventHandler public void onRedstone(BlockRedstoneEvent event) { event.setNewCurrent(0); } } With this plugin installed, placing a line of redstone and triggering it with a torch will cause a crash (https://bytebin.lucko.me/GNJxOgLCCQ). |
Comments |
Comment by md_5 [ 08/Jul/20 ] |
1.15.2? |