Simple new addition to TregminePlayer, Simply use hasBlockPermission with the location of the block and a boolean.
The location will determine where the check is,
boolean true will display error messages and add fire ticks
boolean false will not show error messages and no fire ticks
This is to replace the mass of code required to check such a simple thing in all the listeners.
This is PR 1/2 - I will make another one soon with all the listener updates to use this new code.
Simple new addition to TregminePlayer, Simply use hasBlockPermission with the location of the block and a boolean.
The location will determine where the check is, boolean true will display error messages and add fire ticks boolean false will not show error messages and no fire ticks
This is to replace the mass of code required to check such a simple thing in all the listeners. This is PR 1/2 - I will make another one soon with all the listener updates to use this new code.