package cc.maxmc.servux.util class Timeout(var lastSync: Int) { fun needsUpdate(currentTick: Int, timeout: Int): Boolean { return currentTick - lastSync >= timeout } }