When I try to find the payer's location via      int posX = (int) Math.floor(player.posX);      int posY = (int) Math.floor(player.posY);      int posZ = (int) Math.floor(player.posZ); the Y position returns 2 numbers, which it outputs one at a time and goes back and forth between them. How would I go about having it return only 1 value? (A Stable value.. if you will)