Skip to content

Commit

Permalink
Fix line endings
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Dec 17, 2023
1 parent aa6ff05 commit 858eb74
Showing 1 changed file with 30 additions and 30 deletions.
60 changes: 30 additions & 30 deletions src/main/java/net/wurstclient/zoom/WiZoomInitializer.java
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
/*
* Copyright (c) 2019-2023 Wurst-Imperium and contributors.
*
* This source code is subject to the terms of the GNU General Public
* License, version 3. If a copy of the GPL was not distributed with this
* file, You can obtain one at: https://www.gnu.org/licenses/gpl-3.0.txt
*/
package net.wurstclient.zoom;

import net.fabricmc.api.ModInitializer;

public final class WiZoomInitializer implements ModInitializer
{
private static boolean initialized;

@Override
public void onInitialize()
{
// This code runs as soon as Minecraft is in a mod-load-ready state.
// However, some things (like resources) may still be uninitialized.
// Proceed with mild caution.

if(initialized)
throw new RuntimeException(
"WiZoomInitializer.onInitialize() ran twice!");

WiZoom.INSTANCE.initialize();
initialized = true;
}
}
/*
* Copyright (c) 2019-2023 Wurst-Imperium and contributors.
*
* This source code is subject to the terms of the GNU General Public
* License, version 3. If a copy of the GPL was not distributed with this
* file, You can obtain one at: https://www.gnu.org/licenses/gpl-3.0.txt
*/
package net.wurstclient.zoom;

import net.fabricmc.api.ModInitializer;

public final class WiZoomInitializer implements ModInitializer
{
private static boolean initialized;

@Override
public void onInitialize()
{
// This code runs as soon as Minecraft is in a mod-load-ready state.
// However, some things (like resources) may still be uninitialized.
// Proceed with mild caution.

if(initialized)
throw new RuntimeException(
"WiZoomInitializer.onInitialize() ran twice!");

WiZoom.INSTANCE.initialize();
initialized = true;
}
}

0 comments on commit 858eb74

Please sign in to comment.