blocksdrawer use offsetted time_t

This commit is contained in:
minjaesong
2019-02-02 01:08:14 +09:00
parent 2162c755ce
commit 1e4e4d2b94
3 changed files with 15 additions and 6 deletions

View File

@@ -443,6 +443,7 @@ open class GameWorld {
}
infix fun Int.fmod(other: Int) = Math.floorMod(this, other)
infix fun Long.fmod(other: Long) = Math.floorMod(this, other)
infix fun Float.fmod(other: Float) = if (this >= 0f) this % other else (this % other) + other
inline class FluidType(val value: Int) {