Index: applications/editors/josm/plugins/terracer/src/terracer/TerracerAction.java
===================================================================
--- applications/editors/josm/plugins/terracer/src/terracer/TerracerAction.java	(revision 13560)
+++ applications/editors/josm/plugins/terracer/src/terracer/TerracerAction.java	(revision 13561)
@@ -142,9 +142,11 @@
         for (int i = 0; i < nb; ++i) {
         	Way terr = new Way();
-        	terr.addNode(new_nodes[0][i]);
-        	terr.addNode(new_nodes[0][i+1]);
-        	terr.addNode(new_nodes[1][i+1]);
-        	terr.addNode(new_nodes[1][i]);
-        	terr.addNode(new_nodes[0][i]);
+        	// Using Way.nodes.add rather than Way.addNode because the latter doesn't
+        	// exist in older versions of JOSM.
+        	terr.nodes.add(new_nodes[0][i]);
+        	terr.nodes.add(new_nodes[0][i+1]);
+        	terr.nodes.add(new_nodes[1][i+1]);
+        	terr.nodes.add(new_nodes[1][i]);
+        	terr.nodes.add(new_nodes[0][i]);
         	ways.add(terr);
         	commands.add(new AddCommand(terr));
