Skip to content

Commit 0a38048

Browse files
committed
Cleanup
1 parent b30d825 commit 0a38048

3 files changed

Lines changed: 2 additions & 5 deletions

File tree

System/TeleportManager/TeleportMapComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ public override void OnMouseUpOnElement(MouseEvent args, GuiElementMap mapElem)
138138
{
139139
capi.ModLoader.GetModSystem<TeleportManager>().TeleportPlayerTo(_teleport.Pos);
140140
}
141-
else if(args.Button == EnumMouseButton.Right)
141+
else if (args.Button == EnumMouseButton.Right)
142142
{
143143
if (_editTeleportDialog != null)
144144
{

System/WorldGen/GenTeleportStructures.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
using System;
21
using System.Collections.Generic;
3-
using System.Reflection;
42
using Vintagestory.API.Common;
5-
using Vintagestory.API.Datastructures;
63
using Vintagestory.API.MathTools;
74
using Vintagestory.API.Server;
85
using Vintagestory.ServerMods;

System/WorldGen/StructureBlockIdResolver.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ private void OnBlockEntityPlaced(int x, int y, int z, IBlockAccessor blockAccess
219219

220220
private void ReplaceBrokenLanterns(ref AssetLocation code)
221221
{
222-
if(code.Domain == Constants.ModId && code.Path.Contains("brokenlantern"))
222+
if (code.Domain == Constants.ModId && code.Path.Contains("brokenlantern"))
223223
{
224224
code.Path = code.Path.Replace("copper", _currentLantern);
225225
}

0 commit comments

Comments
 (0)