[SOLVED] Return int from Method (derped)

Hey all, I’m implementing a MouseListener and, I’m trying to retrieve my maps height. But, For whatever reason I’m only getting the first digit when using a return method in my map class from my Mouse Listener class.

These are the three sections of code;

Level aka Map Class


private int levelHeight = 800;

public int get_LevelHeight() {
      return levelHeight;
}

Mouse Listener Class


h = Display.getLevel().get_LevelHeight(); // Returns 8 not 800

If anyone has any idea on what’s happening here I would greatly appreciate a hint :slight_smile: