[cleanup] Remove SafeTickEvent

Signed-off-by: Dominika <sokolov.dominika@gmail.com>
This commit is contained in:
Dominika 2021-01-04 16:33:18 -05:00
parent 374a666236
commit 531c20f544
No known key found for this signature in database
GPG Key ID: B4A5A6DCA70F861F
1 changed files with 0 additions and 7 deletions

View File

@ -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