Fixes #455
This commit is contained in:
parent
bc46688a98
commit
29c5f65840
@ -35,7 +35,7 @@ public class BrushListener implements Listener {
|
||||
com.sk89q.worldedit.entity.Player player = fp.getPlayer();
|
||||
LocalSession session = fp.getSession();
|
||||
Tool tool = session.getTool(player);
|
||||
if (tool != null) {
|
||||
if (tool instanceof ScrollTool) {
|
||||
final int slot = event.getNewSlot();
|
||||
final int oldSlot = event.getPreviousSlot();
|
||||
final int ri;
|
||||
|
Loading…
Reference in New Issue
Block a user