From 38c57d9038a3edeaf8c9d2fcd622ac99e73a32f0 Mon Sep 17 00:00:00 2001 From: LexManos Date: Wed, 30 Mar 2016 15:26:48 -0700 Subject: [PATCH] Make NoteBlockEvent raw constructor protected to allow subclasses. Closes #2153 --- .../java/net/minecraftforge/event/world/NoteBlockEvent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraftforge/event/world/NoteBlockEvent.java b/src/main/java/net/minecraftforge/event/world/NoteBlockEvent.java index 6ed656285..1c54ff518 100644 --- a/src/main/java/net/minecraftforge/event/world/NoteBlockEvent.java +++ b/src/main/java/net/minecraftforge/event/world/NoteBlockEvent.java @@ -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;