Fixed " switch without "default" clause." issue

This commit is contained in:
yesji 2019-10-06 15:11:42 +05:30 committed by GitHub
parent ed85b0a06e
commit 10bc489f59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -89,6 +89,8 @@ public abstract class GameObject implements JSONSerializable, MongoSerializable
case WEST: case WEST:
setX(nextWorld.getWorldSize() - 1); setX(nextWorld.getWorldSize() - 1);
break; break;
default:
break;
} }
return true; return true;