Fixed a bug in Planet.java