Skip to content
This repository has been archived by the owner on Jun 3, 2023. It is now read-only.

Commit

Permalink
Update ResourcePack.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
NichtStudioCode committed Mar 17, 2021
1 parent 0bacb73 commit eb3e164
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,12 @@ class ResourcePack(plugin: MiniatureBlocks) : Listener {

if (oldMainModelData.exists() && !newMainModelData.exists()) {
// server upgraded to this version from version >= 0.6 version <= 0.8
oldMainModelData.copyTo(mainModelData)
oldMainModelData.copyTo(newMainModelData)
}

if (oldTextureModelData.exists() && !newTextureModelData.exists()) {
// server upgraded to this version from version 0.9
oldTextureModelData.copyTo(textureModelData)
oldTextureModelData.copyTo(newTextureModelData)
}
}

Expand Down

0 comments on commit eb3e164

Please sign in to comment.