13 lines
432 B
Diff
13 lines
432 B
Diff
--- ../src-base/minecraft/net/minecraft/tileentity/TileEntityNote.java
|
|
+++ ../src-work/minecraft/net/minecraft/tileentity/TileEntityNote.java
|
|
@@ -30,7 +30,9 @@
|
|
|
|
public void func_145877_a()
|
|
{
|
|
+ byte old = field_145879_a;
|
|
this.field_145879_a = (byte)((this.field_145879_a + 1) % 25);
|
|
+ if (!net.minecraftforge.common.ForgeHooks.onNoteChange(this, old)) return;
|
|
this.func_70296_d();
|
|
}
|
|
|