!Small changes, update lib

This commit is contained in:
Indyuce 2020-04-05 20:05:28 +02:00
parent e3ee795260
commit d0c2cee5bd
3 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -61,6 +61,9 @@ public class PlayerStats {
return new CachedStats();
}
/*
* TODO merge this with MMOLib CachedStatMap
*/
public class CachedStats {
/*

View File

@ -31,9 +31,9 @@ public class EntityManager implements Listener {
* evoker fangs or shulker missiles. it can correspond to the damage the
* entity is supposed to deal, etc
*/
private Map<Integer, Object[]> entities = new HashMap<>();
private final Map<Integer, Object[]> entities = new HashMap<>();
private Map<Integer, ProjectileData> projectiles = new HashMap<>();
private final Map<Integer, ProjectileData> projectiles = new HashMap<>();
public void registerCustomProjectile(NBTItem sourceItem, CachedStats stats, Entity entity, boolean customWeapon) {
registerCustomProjectile(sourceItem, stats, entity, customWeapon, 1);