mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-19 03:49:14 +00:00
Make NoteBlockEvent raw constructor protected to allow subclasses. Closes #2153
This commit is contained in:
1 parent
9b9e48b3db
commit
38c57d9038
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user