[1.7.10] Fix event handler visibility

This commit is contained in:
Jonas Herzig
2019-06-14 14:04:52 +02:00
parent 898e29d7a1
commit 047f216f73
2 changed files with 11 additions and 1 deletions

View File

@@ -308,6 +308,11 @@ public class FullReplaySender extends ChannelDuplexHandler implements ReplaySend
}
}
//#if MC>=10800
private
//#else
//$$ public // All event handlers need to be public in 1.7.10
//#endif
class EventHandler extends EventRegistrations {
//#if MC>=11400
{ on(PreTickCallback.EVENT, this::onWorldTick); }