Skip to content

Commit

Permalink
Fix Ultralight loader checking wrong Exception class
Browse files Browse the repository at this point in the history
  • Loading branch information
Twometer committed Oct 10, 2021
1 parent 8ce17ed commit 2cab3cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion neko-engine/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {
}

group 'de.twometer'
version '2.3.2'
version '2.3.3'

/* Version configuration */
project.ext.lwjglVersion = "3.2.3"
Expand Down
2 changes: 1 addition & 1 deletion neko-engine/src/main/kotlin/de/twometer/neko/Neko.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ package de.twometer.neko

object Neko {

const val VERSION = "2.3.2"
const val VERSION = "2.3.3"

}
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ object UltralightLoader {
try {
UltralightJava.extractNativeLibrary(ultralightPath)
} catch (e: UltralightLoadException) {
if (e.cause is AccessDeniedException)
if (e.cause is java.nio.file.AccessDeniedException)
logger.warn { "Write access to the Ultralight natives directory is denied. This is probably due to the app already running, ignoring." }
else throw e
}
Expand Down

0 comments on commit 2cab3cc

Please sign in to comment.