mirror of
https://github.com/YouHaveTrouble/YHTMod.git
synced 2026-05-11 21:56:54 +00:00
configure a code style that is not completely cursed
This commit is contained in:
@@ -1,14 +1,15 @@
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace YHTMod {
|
||||
public class YHTMod : Mod {
|
||||
private static YHTMod _mod;
|
||||
public YHTMod() {
|
||||
_mod = this;
|
||||
}
|
||||
namespace YHTMod;
|
||||
|
||||
public static YHTMod GetInstance() {
|
||||
return _mod;
|
||||
}
|
||||
}
|
||||
}
|
||||
public class YHTMod : Mod {
|
||||
private static YHTMod _mod;
|
||||
|
||||
public YHTMod() {
|
||||
_mod = this;
|
||||
}
|
||||
|
||||
public static YHTMod GetInstance() {
|
||||
return _mod;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user