diff --git a/_decomp/decomp.ps1 b/_decomp/decomp.ps1 index 8d6f4f46..a7037f22 100644 --- a/_decomp/decomp.ps1 +++ b/_decomp/decomp.ps1 @@ -17,6 +17,8 @@ java -jar "_decomp/vineflower-1.11.2-slim.jar" --only="com/hypixel" $server_jar # Extract the version before deleting the meta inf file $version = (Get-Content "src/META-INF/MANIFEST.MF" | Select-String "^Implementation-Version:\s*(.+)$").Matches.Groups[1].Value +echo "VERSION = $version" + # delete anything not in com hypixel Get-ChildItem "src/" -Exclude @("com", "manifests.json") | Remove-Item -Recurse -Force -Confirm:$false Get-ChildItem "src/com/" -Exclude @("hypixel") | Remove-Item -Recurse -Force -Confirm:$false