Closed khanhtimn closed 1 year ago
The version switcher works just fine, I can join and interact with servers of different versions Client only crash on hitting any entity
---- Minecraft Crash Report ---- // Uh... Did I do that? Time: 5/20/23 12:29 AM Description: Unexpected error java.lang.NullPointerException: Unexpected error at de.florianmichael.vialoadingbase.model.ComparableProtocolVersion.isOlderThanOrEqualTo(ComparableProtocolVersion.java:36) at de.florianmichael.viamcp.fixes.AttackOrder.sendFixedAttack(AttackOrder.java:36) at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1560) at net.minecraft.client.Minecraft.runTick(Minecraft.java:2175) at net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1132) at net.minecraft.client.Minecraft.run(Minecraft.java:436) at net.minecraft.client.main.Main.main(Main.java:113) at Start.main(Start.java:11) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Stacktrace: at de.florianmichael.vialoadingbase.model.ComparableProtocolVersion.isOlderThanOrEqualTo(ComparableProtocolVersion.java:36) at de.florianmichael.viamcp.fixes.AttackOrder.sendFixedAttack(AttackOrder.java:36) at net.minecraft.client.Minecraft.clickMouse(Minecraft.java:1560) -- Affected level -- Details: Level name: MpServer All players: 7 total; [EntityPlayerSP['BeXuanMaiLonTo'/15467, l='MpServer', x=-117.28, y=27.00, z=-106.72], EntityOtherPlayerMP['�e�lNH?P V�O ?�Y'/12, l='MpServer', x=-121.47, y=27.50, z=-101.41], EntityOtherPlayerMP['PhongCanTv'/30, l='MpServer', x=-105.53, y=27.00, z=-95.38], EntityOtherPlayerMP['MrVit'/15, l='MpServer', x=-117.31, y=27.00, z=-108.25], EntityOtherPlayerMP['MocNhan'/21, l='MpServer', x=-105.50, y=27.00, z=-107.44], EntityOtherPlayerMP['KamuiG'/18, l='MpServer', x=-104.47, y=27.00, z=-106.22], EntityOtherPlayerMP['Sammy_Tv'/27, l='MpServer', x=-104.31, y=27.00, z=-96.25]] Chunk stats: MultiplayerChunkCache: 289, 289 Level seed: 0 Level generator: ID 01 - flat, ver 0. Features enabled: false Level generator options: Level spawn location: -122.00,29.00,-90.00 - World: (-122,29,-90), Chunk: (at 6,1,6 in -8,-6; contains blocks -128,0,-96 to -113,255,-81), Region: (-1,-1; contains chunks -32,-32 to -1,-1, blocks -512,0,-512 to -1,255,-1) Level time: 133074 game time, 166993825155 day time Level dimension: 0 Level storage version: 0x00000 - Unknown? Level weather: Rain time: 0 (now: false), thunder time: 0 (now: false) Level game mode: Game mode: survival (ID 0). Hardcore: false. Cheats: false Forced entities: 98 total; [EntityPlayerSP['BeXuanMaiLonTo'/15467, l='MpServer', x=-117.28, y=27.00, z=-106.72], EntityItemFrame['entity.ItemFrame.name'/536870911, l='MpServer', x=-127.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870912, l='MpServer', x=-127.50, y=32.50, z=-112.97], EntityArmorStand['�d�lCh�o m?ng b?n ??n Server HeroMC.Net'/1, l='MpServer', x=-121.53, y=32.66, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870913, l='MpServer', x=-127.50, y=31.50, z=-112.97], EntityOtherPlayerMP['KamuiG'/18, l='MpServer', x=-104.47, y=27.00, z=-106.22], EntityArmorStand['�a�lThay ??i m?t kh?u �e�l/changepassword �c�lMatKhauCu �b�lMatKhauMoi'/2, l='MpServer', x=-121.53, y=32.41, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870914, l='MpServer', x=-127.50, y=30.50, z=-112.97], EntityOtherPlayerMP['Sammy_Tv'/27, l='MpServer', x=-104.31, y=27.00, z=-96.25], EntityArmorStand['�a�l ?? ??ng nh?p v�o server �c�l/login < m?t kh?u >'/3, l='MpServer', x=-121.53, y=32.16, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870915, l='MpServer', x=-127.50, y=29.50, z=-112.97], EntityArmorStand['�a�l Qu�n m?t kh?u truy c?p �c�lheromc.net'/4, l='MpServer', x=-121.53, y=31.91, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870916, l='MpServer', x=-127.50, y=28.50, z=-112.97], EntityArmorStand['�b�l/skin �6�l< t�n nh�n v?t >�a�l ?? ??i skin nh�n v?t'/5, l='MpServer', x=-121.53, y=31.66, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870917, l='MpServer', x=-126.50, y=33.50, z=-112.97], EntityArmorStand['�f�lXem h??ng d?n c�ch ch?i t?i: �b�lhttps://heromc.net'/6, l='MpServer', x=-121.53, y=31.41, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870918, l='MpServer', x=-126.50, y=32.50, z=-112.97], EntityArmorStand['�7To�n b? c�ng tr�nh map ???c x�y d?ng b?i'/7, l='MpServer', x=-121.53, y=31.16, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870919, l='MpServer', x=-126.50, y=31.50, z=-112.97], EntityArmorStand['�7Team Build For Fun by Vietnam.'/8, l='MpServer', x=-121.53, y=30.91, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870920, l='MpServer', x=-126.50, y=30.50, z=-112.97], EntityArmorStand['�e�lCh�c c�c b?n ch?i game vui v?!'/9, l='MpServer', x=-121.53, y=30.66, z=-93.59], EntityItemFrame['entity.ItemFrame.name'/536870921, l='MpServer', x=-126.50, y=29.50, z=-112.97], EntityOtherPlayerMP['PaChiaBun'/24, l='MpServer', x=-121.47, y=27.00, z=-83.94], EntityArmorStand['�9Danh s�ch m�y ch?'/10, l='MpServer', x=-121.50, y=29.88, z=-101.47], EntityItemFrame['entity.ItemFrame.name'/536870922, l='MpServer', x=-126.50, y=28.50, z=-112.97], EntityOtherPlayerMP['MeoSimmy'/33, l='MpServer', x=-137.41, y=27.00, z=-95.63], EntityArmorStand['�7Gamemode v� Minigame...'/11, l='MpServer', x=-121.50, y=29.63, z=-101.47], EntityItemFrame['entity.ItemFrame.name'/536870923, l='MpServer', x=-125.50, y=33.50, z=-112.97], EntityOtherPlayerMP['�e�lNH?P V�O ?�Y'/12, l='MpServer', x=-121.47, y=27.50, z=-101.41], EntityItemFrame['entity.ItemFrame.name'/536870924, l='MpServer', x=-125.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870925, l='MpServer', x=-125.50, y=31.50, z=-112.97], EntityOtherPlayerMP['�e�lNH?P V�O ?�Y'/12, l='MpServer', x=-121.47, y=27.50, z=-101.41], EntityItemFrame['entity.ItemFrame.name'/536870926, l='MpServer', x=-125.50, y=30.50, z=-112.97], EntityOtherPlayerMP['PhongCanTv'/30, l='MpServer', x=-105.53, y=27.00, z=-95.38], EntityItemFrame['entity.ItemFrame.name'/536870927, l='MpServer', x=-125.50, y=29.50, z=-112.97], EntityOtherPlayerMP['MrVit'/15, l='MpServer', x=-117.31, y=27.00, z=-108.25], EntityItemFrame['entity.ItemFrame.name'/536870928, l='MpServer', x=-125.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870929, l='MpServer', x=-124.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870930, l='MpServer', x=-124.50, y=32.50, z=-112.97], EntityOtherPlayerMP['KamuiG'/18, l='MpServer', x=-104.47, y=27.00, z=-106.22], EntityItemFrame['entity.ItemFrame.name'/536870931, l='MpServer', x=-124.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870932, l='MpServer', x=-124.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870933, l='MpServer', x=-124.50, y=29.50, z=-112.97], EntityOtherPlayerMP['MocNhan'/21, l='MpServer', x=-105.50, y=27.00, z=-107.44], EntityItemFrame['entity.ItemFrame.name'/536870934, l='MpServer', x=-124.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870935, l='MpServer', x=-123.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870936, l='MpServer', x=-123.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870937, l='MpServer', x=-123.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870938, l='MpServer', x=-123.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870939, l='MpServer', x=-123.50, y=29.50, z=-112.97], EntityOtherPlayerMP['Sammy_Tv'/27, l='MpServer', x=-104.31, y=27.00, z=-96.25], EntityItemFrame['entity.ItemFrame.name'/536870940, l='MpServer', x=-123.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870941, l='MpServer', x=-122.50, y=33.50, z=-112.97], EntityOtherPlayerMP['PhongCanTv'/30, l='MpServer', x=-105.53, y=27.00, z=-95.38], EntityItemFrame['entity.ItemFrame.name'/536870942, l='MpServer', x=-122.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870943, l='MpServer', x=-122.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870944, l='MpServer', x=-122.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870945, l='MpServer', x=-122.50, y=29.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870946, l='MpServer', x=-122.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870947, l='MpServer', x=-121.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870948, l='MpServer', x=-121.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870949, l='MpServer', x=-121.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870950, l='MpServer', x=-121.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870951, l='MpServer', x=-121.50, y=29.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870952, l='MpServer', x=-121.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870953, l='MpServer', x=-120.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870954, l='MpServer', x=-120.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870955, l='MpServer', x=-120.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870956, l='MpServer', x=-120.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870957, l='MpServer', x=-120.50, y=29.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870958, l='MpServer', x=-120.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870959, l='MpServer', x=-119.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870960, l='MpServer', x=-119.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870961, l='MpServer', x=-119.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870962, l='MpServer', x=-119.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870963, l='MpServer', x=-119.50, y=29.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870964, l='MpServer', x=-119.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870965, l='MpServer', x=-118.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870966, l='MpServer', x=-118.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870967, l='MpServer', x=-118.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870968, l='MpServer', x=-118.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870969, l='MpServer', x=-118.50, y=29.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870970, l='MpServer', x=-118.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870971, l='MpServer', x=-117.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870972, l='MpServer', x=-117.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870973, l='MpServer', x=-117.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870974, l='MpServer', x=-117.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870975, l='MpServer', x=-117.50, y=29.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870976, l='MpServer', x=-117.50, y=28.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870977, l='MpServer', x=-116.50, y=33.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870978, l='MpServer', x=-116.50, y=32.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870979, l='MpServer', x=-116.50, y=31.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870980, l='MpServer', x=-116.50, y=30.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870981, l='MpServer', x=-116.50, y=29.50, z=-112.97], EntityItemFrame['entity.ItemFrame.name'/536870982, l='MpServer', x=-116.50, y=28.50, z=-112.97], EntityOtherPlayerMP['MrVit'/15, l='MpServer', x=-117.31, y=27.00, z=-108.25], EntityOtherPlayerMP['MocNhan'/21, l='MpServer', x=-105.50, y=27.00, z=-107.44]] Retry entities: 0 total; [] Server brand: Waterfall <- Paper Server type: Non-integrated multiplayer server Stacktrace: at net.minecraft.client.multiplayer.WorldClient.addWorldInfoToCrashReport(WorldClient.java:403) at net.minecraft.client.Minecraft.addGraphicsAndWorldToCrashReport(Minecraft.java:2807) at net.minecraft.client.Minecraft.run(Minecraft.java:465) at net.minecraft.client.main.Main.main(Main.java:113) at Start.main(Start.java:11)
Should be fixed within the latest commit
confirm fixed
The version switcher works just fine, I can join and interact with servers of different versions Client only crash on hitting any entity