Make NoteBlockEvent raw constructor protected to allow subclasses. Closes #2153
This commit is contained in:
parent
9b9e48b3db
commit
38c57d9038
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ public class NoteBlockEvent extends BlockEvent
|
|||
{
|
||||
private int noteId;
|
||||
|
||||
NoteBlockEvent(World world, BlockPos pos, IBlockState state, int note)
|
||||
protected NoteBlockEvent(World world, BlockPos pos, IBlockState state, int note)
|
||||
{
|
||||
super(world, pos, state);
|
||||
this.noteId = note;
|
||||
|
|
Loading…
Reference in a new issue