
[BUG] /RTP not working. 1.19
seanimusprime opened this issue ยท 6 comments
Describe the bug
I tried this mod on 1.18.2 and now on 1.19 and I just cannot get it to work for my server. It's a family SMP, there's only 4 of us and all of us are OP'ed so permissions shouldn't be an issue. When you type /rtp it says it's searching for a safe location but then never teleports us.
To Reproduce
Steps to reproduce the behavior:
- Type /rtp
- Wait
- Nothing happens
Expected behavior
To randomly teleport to safe location
Desktop (please complete the following information):
- RandomTP version: randomtp-7.0.0+1.19-fabric.jar
- Minecraft Version: 1.19
- Machine Software: Windows 11
Additional context
Server console gives this error message after using the command:
10.06 02:27:45 [Server] Thread-16/INFO Error executing command.
10.06 02:27:45 [Server] Thread-16/INFO [STDERR]: java.lang.NullPointerException: Cannot invoke "net.minecraft.class_2960.toString()" because the return value of "com.gmail.picono435.randomtp.api.RandomTPAPI.getBiomeId(net.minecraft.class_1959)" is null
10.06 02:27:45 [Server] Thread-16/INFO [STDERR]: at com.gmail.picono435.randomtp.api.RandomTPAPI.randomTeleport(RandomTPAPI.java:59)
10.06 02:27:45 [Server] Thread-16/INFO [STDERR]: at com.gmail.picono435.randomtp.api.RandomTPAPI.randomTeleport(RandomTPAPI.java:32)
10.06 02:27:45 [Server] Thread-16/INFO [STDERR]: at com.gmail.picono435.randomtp.commands.RTPCommand.lambda$runCommand$4(RTPCommand.java:47)
10.06 02:27:45 [Server] Thread-16/INFO [STDERR]: at java.base/java.lang.Thread.run(Thread.java:831)
Here's the list of mods currently on our server:
Too Fast (by Noobanidus)
Recast (Fabric) (by Serilum)
Puzzle (by Motschen)
Random Shulker Colours (Fabric) (by Serilum)
Surface Mushrooms (Fabric) (by Serilum)
LazyDFU (by tuxed)
Random Bone Meal Flowers (Fabric) (by Serilum)
Carpet TIS Addition (by Fallen_Breath)
MidnightLib (by TeamMidnightDust)
Better Conduit Placement (Fabric) (by Serilum)
Mooshroom Tweaks (Fabric) (by Serilum)
Mooshroom Spawn (Fabric) (by Serilum)
Better Beacon Placement (Fabric) (by Serilum)
Mineral Chance (Fabric) (by Serilum)
Collective (Fabric) (by Serilum)
Scaffolding Drops Nearby (Fabric) (by Serilum)
Simple Voice Chat (by henkelmax)
FerriteCore (Fabric) (by malte0811)
AppleSkin (by squeek502)
No Hostiles Around Campfire (Fabric) (by Serilum)
Architectury API (Fabric/Forge) (by shedaniel)
Your Options Shall Be Respected (YOSBR) (by shedaniel)
Nether Portal Spread (Fabric) (by Serilum)
Cloth Config API (Fabric/Forge) (by shedaniel)
Keep My Soil Tilled (Fabric) (by Serilum)
Lithium (Fabric) (by jellysquid3_)
Xaero's World Map (by xaero96)
Fabric Tree Chopper (by magneticflux_)
Diggus Maximus (by Kyrptonaught)
Jade ๐ (by Snownee_)
Craft Saddles and Horse Armor (by exlinegames)
Shulker Drops Two (Fabric) (by Serilum)
Tax Free Levels (Fabric/Forge) (by Fourmisain)
Concrete Conversion (by mrp_v2)
Convenient mobGriefing (by Neecko5b84)
Smaller Nether Portals (Fabric) (by Serilum)
CompleteConfig (by Lortseam_)
Simply Houses (by Aureljz)
SilkSpawners (by LordDeatHunter)
Polymer (by Patbox)
OverpoweredMending (Forge&Fabric) (by RakSrinaNa)
Skeleton Horse Spawn (Fabric) (by Serilum)
Krypton (by tuxed)
Debugify (by XanderIsDev)
Mod Menu (by ProspectorDev)
Healing Campfire (Fabric) (by Serilum)
Replanting Crops (Fabric) (by Serilum)
Random Sheep Colours (Fabric) (by Serilum)
Roughly Enough Items Fabric/Forge (REI) (by shedaniel)
MemoryLeakFix (by FX_PR0CESS)
Not Enough Crashes (Fabric) (by NatanFudge)
Automatic Doors (Fabric) (by Serilum)
Wool Tweaks (Fabric) (by Serilum)
AttributeFix (by DarkhaxDev)
Grind Enchantments (by mschae23)
Fabric Language Kotlin (by modmuss50)
Starlight (Fabric) (by Spottedstar)
Furnace Recycle (Fabric) (by Serilum)
Dragon Drops Elytra (Fabric) (by Serilum)
DeepslateCutting (by NoComment1105)
Giant Spawn (Fabric) (by Serilum)
Alternate Current (by SpaceWalkerRS)
Better Spawner Control (Fabric) (by Serilum)
Clumps (by Jaredlll08)
Carpet (by gnembon)
Zombie Horse Spawn (Fabric) (by Serilum)
Carpet Extra (by gnembon)
Chunky Pregenerator (Fabric) (by pop4959)
Name Tag Tweaks (Fabric) (by Serilum)
Cloth API (Fabric) (by shedaniel)
Double Doors (Fabric) (by Serilum)
Stoneholm, Underground Villages (Fabric) (by TheGrimsey)
Hoe Tweaks (Fabric) (by Serilum)
Zoomify (by XanderIsDev)
Lapis Reserve (by sfort__)
Fabric API (by modmuss50)
Smooth Boot (Fabric) (by UltimateBoomer)
Bigger Sponge Absorption Radius (Fabric) (by Serilum)
Xaero's Minimap (by xaero96)
RandomTP (by Picono435)
Hello sorry for the inconvenience. If you could please try and check if it still happens with this JAR it would be great.
randomtp-7.0.0+1.19-fabric.jar.zip
This occurs on 1.18.2 as well. It looks like the getBiomeId
method is what's causing the problem. That method throws an AssertionError
exception when called - is this supposed to always be the case, or is there a subclass that I'm not seeing which overrides the method? It also makes me wonder if custom biomes are causing the problem from, for example, Oh The Biomes You Go! which I'm using in my mod pack. Should I also try the version you linked below? @Picono435
Hello sorry for the inconvenience. If you could please try and check if it still happens with this JAR it would be great. randomtp-7.0.0+1.19-fabric.jar.zip
Yop,
I've the exact same issue. And i tried :
Hello sorry for the inconvenience. If you could please try and check if it still happens with this JAR it would be great. randomtp-7.0.0+1.19-fabric.jar.zip
This time, the console show nothing, but i just get the message in chat, and nothings happen. =/