RedProtect Anti-Grief

RedProtect Anti-Grief

73.3k Downloads

[BUG] Region name gives NullPointerException

Dmunch04 opened this issue ยท 3 comments

commented

Describe the bug
In the CreateRegionEvent, the regions name returns a NullPointerException

To Reproduce
Steps to reproduce the behavior:

@EventHandler
public void onRegionCreated(CreateRegionEvent e) {
   String name = e.getRegion().getName();
}

Error:

java.lang.NullPointerException: null

Expected behavior
It should return the regions actual name (The one that's also on the region sign)

Server and plugins versions (please complete the following information):

  • Server: Paper 1.15.2
  • Plugin Version: RedProtect-7.6.5-b289-Universal
  • Java Version: Java 8
commented

Bump

commented

Already fixed on latest dev build (b303+)

commented

How would I important that API version with Maven?

Edit: After reconsideration, it's just the plugin i need to update right? The API repo will still be the same?