Skip to content

Commit e36e76d

Browse files
authored
Update ResourceManager.java
Provide a more detailed description in res_create_resource
1 parent 6a68260 commit e36e76d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/main/java/com/laytonsmith/core/functions/ResourceManager.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,11 @@ public String docs() {
176176
+ " to res_create_resource should be paired with a res_free_resource, being careful"
177177
+ " to catch any exceptions and still calling res_free_resource anyways. Each resource"
178178
+ " has its own data to create the resource. Type may be one of: "
179-
+ StringUtils.Join(ResourceTypes.values(), ", ", ", or ");
179+
+ StringUtils.Join(ResourceTypes.values(), ", ", ", or ")
180+
+ " It's worth noting that this function (and any function that relies on it) is a stopgap"
181+
+ " measure, and will eventually be deprecated and removed. For certain types of operations,"
182+
+ " it's completely unweildy to implement them in a procedural manner, so this is a temporary"
183+
+ " alternative to proper object support.";
180184
}
181185

182186
@Override

0 commit comments

Comments
 (0)