[SPIGOT-7754] When using a trial explorer map the map doesn't have a chamber on it, and spams the console with a warning / error. Created: 14/Jun/24  Updated: 25/Dec/24  Resolved: 14/Jun/24

Status: Closed
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Ryan Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: bug, error, spigot
Environment:

Virtualized Ubuntu Server 20.04 running on pterodactyl panel. 4 gigs of ram.


Attachments: File 2024-06-14-4.log.gz    
Issue Links:
Duplicate
duplicates SPIGOT-7740 Render issue error using the new spig... Resolved
Version: 4196-Spigot-146439e-a4c2ee7 (MC: 1.21)
Guidelines Read: Yes

 Description   

When trading with a villager for the trial explorer map, the map doesn't show the chamber on it, and then whenever its loaded it spams the console with an error.

 

This just repeats over and over 

[17:16:00] [Server thread/ERROR]: Could not render map using renderer org.bukkit.craftbukkit.v1_21_R1.map.CraftMapRenderer
java.lang.IllegalArgumentException: Type must be in the range 0-26
	at org.bukkit.map.MapCursor.setRawType(MapCursor.java:191) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.map.MapCursor.setType(MapCursor.java:179) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.map.MapCursor.<init>(MapCursor.java:80) ~[spigot-api-1.21-R0.1-SNAPSHOT.jar:?]
	at org.bukkit.craftbukkit.v1_21_R1.map.CraftMapRenderer.render(CraftMapRenderer.java:46) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at org.bukkit.craftbukkit.v1_21_R1.map.CraftMapView.render(CraftMapView.java:157) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.world.level.saveddata.maps.WorldMap$WorldMapHumanTracker.a(WorldMap.java:601) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.world.level.saveddata.maps.WorldMap.a(WorldMap.java:418) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.world.item.ItemWorldMap.a(SourceFile:331) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.level.EntityPlayer.m(EntityPlayer.java:762) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.network.PlayerConnection.d(PlayerConnection.java:345) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.network.NetworkManager.b(NetworkManager.java:436) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.network.ServerConnection.c(ServerConnection.java:181) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.MinecraftServer.c(MinecraftServer.java:1487) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.dedicated.DedicatedServer.c(DedicatedServer.java:406) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:1321) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.MinecraftServer.y(MinecraftServer.java:1071) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:318) ~[spigot-1.21-R0.1-SNAPSHOT.jar:4196-Spigot-146439e-a4c2ee7]
	at java.base/java.lang.Thread.run(Thread.java:1583) [?:?] 


 Comments   
Comment by Marvin Rieple [ 14/Jun/24 ]

Updated your Spigot, this was fixed.

Generated at Wed Dec 17 13:23:43 UTC 2025 using Jira 10.3.15#10030015-sha1:909cc43d292ca09e774c1a243d9819be3f2628cd.