Make NoteBlockEvent raw constructor protected to allow subclasses. Closes #2153

This commit is contained in:
LexManos 2016-03-30 15:26:48 -07:00
parent 9b9e48b3db
commit 38c57d9038

View file

@ -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;