Collision box disappearance #43
Labels
No Label
API
Addon Request
Bug
Duplicate
Enhancement
Feature Request
High Priority
Hybrid Software
Incompatibility
Invalid
Legacy
Low Priority
Missing Information
Needs Confirmation
Possible with API
Question
Won't Fix
v3
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: SBDevelopment/VehiclesPlus#43
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Describe the bug
When driving randomly the hitbox can dissapear and you can't drive up anything but can phase thru it to right about the seat
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The hitbox to be calculated correctly
Screenshots or Video Recordings
Don't have any
Server and Plugin Information
Additional context
[16:45:57] [Server thread/WARN]: [VehiclesPlusPro] Task #520 for VehiclesPlusPro v2.0.9 generated an exception
java.util.NoSuchElementException: null
at org.bukkit.craftbukkit.v1_12_R1.util.UnsafeList$Itr.next(UnsafeList.java:248) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.Chunk.a(Chunk.java:1015) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.World.getEntities(World.java:2630) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.craftbukkit.v1_12_R1.CraftWorld.getNearbyEntities(CraftWorld.java:782) ~[patched_1.12.2.jar:git-Paper-1618]
at me.legofreak107.vehiclesplus.vehicles.managers.CollisionManager.handleEntityCollision(CollisionManager.java:216) ~[?:?]
at me.legofreak107.vehiclesplus.vehicles.managers.CollisionManager.checkCollision(CollisionManager.java:101) ~[?:?]
at me.legofreak107.vehiclesplus.vehicles.vehicles.objects.SpawnedVehicle.update(SpawnedVehicle.java:210) ~[?:?]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftTask.run(CraftTask.java:64) ~[patched_1.12.2.jar:git-Paper-1618]
at org.bukkit.craftbukkit.v1_12_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.D(MinecraftServer.java:840) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.DedicatedServer.D(DedicatedServer.java:423) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.C(MinecraftServer.java:774) ~[patched_1.12.2.jar:git-Paper-1618]
at net.minecraft.server.v1_12_R1.MinecraftServer.run(MinecraftServer.java:666) ~[patched_1.12.2.jar:git-Paper-1618]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_262]
Agh. It's always 1.12 that gives me issues lol. I'll take a look into this.
Should be fixed in 2.1.0
I'm on 2.1.0-dev3, but I still got this issue.
Implemented the same fix for this error. Testing it now.
Fixed in 2.1.0.