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:
@@ -392,7 +392,7 @@ vector<pair<int, int> > *PotionItem::getUniquePotionValues()
|
||||
int effectsHashCode = 1;
|
||||
for(auto& effect : *effects)
|
||||
{
|
||||
effectsHashCode = 31*effectsHashCode + (effect ? 0 : effect->hashCode());
|
||||
effectsHashCode = 31*effectsHashCode + (effect ? effect->hashCode() : 0);
|
||||
delete effect;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user