Skip to content
Permalink
Browse files

Fix chair height

Sitting height in a chair was changed (moved down by 0.2 blocks) to be more like other chair plugins for Bukkit and/or Spigot.
  • Loading branch information...
Cebtenzzre authored and me4502 committed Apr 8, 2018
1 parent 5846e42 commit 294a338ab09d3f5548e11fb74526902b6f27f764
@@ -163,7 +163,7 @@ private boolean hasSign(Location<World> location, List<Location<World>> searched
}

private void addChair(Player player, Location<World> location) {
Entity entity = location.getExtent().createEntity(EntityTypes.ARMOR_STAND, location.getBlockPosition().toDouble().sub(-0.5, 1, -0.5));
Entity entity = location.getExtent().createEntity(EntityTypes.ARMOR_STAND, location.getBlockPosition().toDouble().sub(-0.5, 1.2, -0.5));
entity.offer(Keys.INVISIBLE, true);
entity.offer(Keys.HAS_GRAVITY, false);

0 comments on commit 294a338

Please sign in to comment.
You can’t perform that action at this time.