Closed AcesGamingUK closed 4 years ago
Where you shift right clicking with an arrow in your hand? Based on your config settings that is the item required to make the plugin work.
Please join me on my discord server for faster responses. https://discord.gg/PXN4bzT
yes i tried it with the arrow and got that error
setting both
require_item: true
and require_workstation: true
to false
prevents to error and works with shift r-click- have not tested with other items as restarting the server each and every time to update the config is tedious
I have a fix that corrects this error an includes /vwh reload, which can be used by players and console. It's in the dev-builds section for VWH on my discord server.
seems to have fixed the issue, also many thanks on a reload command <3
Versions
Server Version
git-Paper-184 (MC:1.16.2)
Plugin Version1.14.1_1.0.2
Player Interact Error
Config
```json # DO NOT CHANGE VERSION version: 1.0.2 # Change to false to stop auto-update-check. auto_update_check: true # Set to true before sending a log about an issue. # Logs trace data required to pinpoint where errors are. debug: false # Particle Configs particle: display: true name: HEART duration: 200 # Shift Right Click shift_click: # Set to false to not require item at all. require_item: true # Set to false to use custom Material. # Works with any workstation. require_workstation: false # If require_workstation is true this will be ignored. required_material: minecraft:arrow ```Console Error
```css 05.09 22:27:12 [Server] ERROR Could not pass event PlayerInteractEntityEvent to VillagerWorkstationHighlights v1.14.1_1.0.2 05.09 22:27:12 [Server] INFO java.lang.IllegalArgumentException: Material cannot be null 05.09 22:27:12 [Server] INFO at org.apache.commons.lang.Validate.notNull(Validate.java:192) ~[patched_1.16.2.jar:git-Paper-162] 05.09 22:27:12 [Server] INFO at org.bukkit.inventory.ItemStack.also a reload command would be SUPER helpful