TU43 Structures, bug fixes & minor changes
- Elytra flight, damage, kinetic energy, pretty much any bug someone reported, paper doll, etc. - Fossil & Igloo generation - Texture interpolation - Iggy mouse fix for world settings - Neo branding on main screen - Release build txt logger - Debug mode spectator - Several server fixes - Flowerpot fixes - Several more changes made in TU43
This commit is contained in:
@@ -111,6 +111,7 @@ void ThrownPotion::onHit(HitResult *res)
|
||||
for(auto& effect : *mobEffects)
|
||||
{
|
||||
int id = effect->getId();
|
||||
if (id < 0 || id >= MobEffect::NUM_EFFECTS || !MobEffect::effects[id]) continue;
|
||||
if (MobEffect::effects[id]->isInstantenous())
|
||||
{
|
||||
MobEffect::effects[id]->applyInstantenousEffect(getOwner(), e, effect->getAmplifier(), scale);
|
||||
|
||||
Reference in New Issue
Block a user