mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-07 15:04:58 +00:00
wip: removing vec3 tls
This commit is contained in:
@@ -142,7 +142,7 @@ void Throwable::tick() {
|
||||
from = Vec3::newTemp(x, y, z);
|
||||
to = Vec3::newTemp(x + xd, y + yd, z + zd);
|
||||
if (res != NULL) {
|
||||
to = Vec3::newTemp(res->pos->x, res->pos->y, res->pos->z);
|
||||
to = Vec3::newTemp(res->pos.x, res->pos.y, res->pos.z);
|
||||
}
|
||||
|
||||
if (!level->isClientSide) {
|
||||
@@ -256,4 +256,4 @@ std::shared_ptr<LivingEntity> Throwable::getOwner() {
|
||||
owner = level->getPlayerByName(ownerName);
|
||||
}
|
||||
return owner;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user