Skip to content

Commit

Permalink
Merge branch 'feature/plugins' into bleeding
Browse files Browse the repository at this point in the history
  • Loading branch information
bundabrg committed Aug 1, 2020
2 parents 5bba89d + 3e761dd commit 69b4fd1
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ public class ResourceReadEvent extends GeyserEvent {
* @param resourceName name of resource
* @return name of resource
*/
@NonNull
private String resourceName;

/**
Expand All @@ -60,6 +59,10 @@ public class ResourceReadEvent extends GeyserEvent {
* @param inputStream the InputStream for the data, null if invalid
* @return current InputStream for the resource, null if invalid
*/
@NonNull
private InputStream inputStream;

public ResourceReadEvent(String resourceName, InputStream inputStream) {
this.resourceName = resourceName;
this.inputStream = inputStream;
}
}

0 comments on commit 69b4fd1

Please sign in to comment.