diff --git a/src/main/java/cactusServer/resources/BulletsRest.java b/src/main/java/cactusServer/resources/BulletsRest.java index 822c475..ad2524e 100644 --- a/src/main/java/cactusServer/resources/BulletsRest.java +++ b/src/main/java/cactusServer/resources/BulletsRest.java @@ -34,7 +34,7 @@ @POST @Produces(MediaType.TEXT_PLAIN) public String createBullet(@PathParam("instanceId") String instanceId, @PathParam("playerId") String playerId, - @FormParam("bulletId") String bulletId, @FormParam("position") Position3D position, @FormParam("angle") Quaternion3D angle) { + @FormParam("bulletID") String bulletId, @FormParam("position") Position3D position, @FormParam("angle") Quaternion3D angle) { Instance instance = Instances.getInstance().getInstance(instanceId); HashMap idMap = instance.createBullet(playerId, bulletId, position, angle); HashMap uriMap = new HashMap<>();