Skip to content

Instantly share code, notes, and snippets.

View Thanaen's full-sized avatar
:shipit:

Thanaen

:shipit:
View GitHub Profile
@Thanaen
Thanaen / sentryMiddleware.ts
Last active July 26, 2022 20:18
Zustand Sentry Middleware
import type { StateCreator, StoreMutatorIdentifier } from 'zustand';
import { configureScope } from '@sentry/browser';
type PopArgument<T extends (...a: never[]) => unknown> = T extends (
...a: [...infer A, infer _]
) => infer R
? (...a: A) => R
: never;
interface SentryMiddlewareConfig<T> {
@Thanaen
Thanaen / latest.log
Created May 11, 2020 16:28
MC-TechColonies 2.6 - Builder AI crashes
[11May2020 15:05:06.583] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher running: args [--gameDir, ., --launchTarget, fmlserver, --fml.forgeVersion, 31.1.63, --fml.mcpVersion, 20200414.225201, --fml.mcVersion, 1.15.2, --fml.forgeGroup, net.minecraftforge, -nogui]
[11May2020 15:05:06.590] [main/INFO] [cpw.mods.modlauncher.Launcher/MODLAUNCHER]: ModLauncher 5.1.0+69+master.79f13f7 starting: java version 1.8.0_252 by AdoptOpenJDK
[11May2020 15:05:06.928] [main/INFO] [net.minecraftforge.fml.loading.FixSSL/CORE]: Added Lets Encrypt root certificates as additional trust
[11May2020 15:05:07.258] [main/INFO] [mixin/]: SpongePowered MIXIN Subsystem Version=0.8 Source=file:/home/debian/minecraft/server-stable/mods/MixinBootstrap-1.0.3.jar Service=ModLauncher Env=SERVER
[11May2020 15:05:09.050] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleErrorListener:syntaxError:38]: line 10:99 token recognition error at: ';'
[11May2020 15:05:09.111] [main/INFO] [STDERR/]: [org.antlr.v4.runtime.ConsoleError
@Thanaen
Thanaen / crash-2020-05-09_15.49.04-server.txt
Last active May 9, 2020 14:01
MC-TechColonies 2.8 Portable Crafter crash
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3
Time: 09/05/20 15:49
Description: Exception in server tick loop
java.lang.NoSuchMethodError: net.minecraft.inventory.container.ContainerType.func_221506_a(ILnet/minecraft/entity/player/PlayerInventory;)Lnet/minecraft/inventory/container/Container;
at marioandweegee3.portablecrafter.item.PortableCrafterContainerProvider.createMenu(PortableCrafterContainerProvider.java:19) ~[?:1.0.2-1.15] {re:classloading}
at net.minecraft.entity.player.ServerPlayerEntity.func_213829_a(ServerPlayerEntity.java:787) ~[?:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:performant.mixins.json:advancement.ServerPlayerEntityMixin,pl:mixin:A}
at marioandweegee3.portablecrafter.item.PortableCrafterItem.func_77659_a(PortableCrafterItem.java:32) ~[?:1.0.2-1.15] {re:classloading}