mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-21 20:52:20 +00:00
The Gaia Guardian now blocks flight. Closes #160.
This commit is contained in:
1 parent
4b3296cecb
commit
c6fb4673cf
1 file changed
+2
@@ -232,6 +232,8 @@ public class EntityDoppleganger extends EntityCreature implements IBossDisplayDa
|
||||
|
||||
active.removeAll(remove);
|
||||
|
||||
player.capabilities.isFlying = player.capabilities.isFlying && player.capabilities.isCreativeMode;
|
||||
|
||||
if(!playersInside.contains(player)) {
|
||||
Vector3 sourceVector = new Vector3(source.posX + 0.5, source.posY + 0.5, source.posZ + 0.5);
|
||||
Vector3 playerVector = Vector3.fromEntityCenter(player);
|
||||
|
||||
Reference in new issue
Block a user