Skip to content

Commit

Permalink
Fix hibernate classloader issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexProgrammerDE committed Dec 28, 2024
1 parent 377c9bf commit 5a8c935
Showing 1 changed file with 30 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
* SoulFire
* Copyright (C) 2024 AlexProgrammerDE
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
package com.soulfiremc.server.injection.mixins;

import org.hibernate.boot.registry.classloading.internal.AggregatedClassLoader;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.Overwrite;

@Mixin(AggregatedClassLoader.class)
public class AggregatedClassLoaderMixin {
@Overwrite
private static ClassLoader locateSystemClassLoader() {
return null;
}
}

0 comments on commit 5a8c935

Please sign in to comment.