Skip to content

Commit c40cde6

Browse files
committed
Remove useless catches and temp remove data tab
1 parent 8d546f3 commit c40cde6

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

src/Generation/TileProcessor.cs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -155,11 +155,6 @@ public static void ScaleTexture(Texture2D texture, int width, int height)
155155

156156
texture.SetPixelData(pixels, 0);
157157
}
158-
catch (System.Exception e)
159-
{
160-
Plugin.Logger.LogError(e);
161-
throw; // rethrow error so we know something went wrong
162-
}
163158
finally
164159
{
165160
// No memory leaks today!
@@ -187,10 +182,6 @@ public static void CopyTextureSegment(Texture2D source, Texture2D destination, i
187182

188183
destination.SetPixelData(dp, 0);
189184
}
190-
catch
191-
{
192-
throw; // rethrow error so we know something went wrong
193-
}
194185
finally
195186
{
196187
// No leaking memory for you! :3

src/UI.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ public override void Initialize()
99

1010
Tabs = [
1111
new MainMenuTab(this),
12-
new DataTab(this),
12+
// new DataTab(this),
1313
new ScreenshotTab(this),
1414
new EditTab(this),
1515
new GenerateTab(this),

0 commit comments

Comments
 (0)