mirror of https://github.com/kami-blue/client
[cleanup] Remove SafeTickEvent
Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
parent
374a666236
commit
531c20f544
|
@ -30,13 +30,6 @@ object ForgeEventProcessor {
|
|||
fun onTick(event: TickEvent.ClientTickEvent) {
|
||||
KamiEventBus.post(event)
|
||||
|
||||
|
||||
if (mc.world != null && mc.player != null) {
|
||||
SafeTickEvent(event.phase).also {
|
||||
KamiEventBus.post(it)
|
||||
}
|
||||
}
|
||||
|
||||
if (event.phase == TickEvent.Phase.END && prevWidth != mc.displayWidth || prevHeight != mc.displayHeight) {
|
||||
prevWidth = mc.displayWidth
|
||||
prevHeight = mc.displayHeight
|
||||
|
|
Loading…
Reference in New Issue