You've already forked Arcturus-Morningstar-Extended
mirror of
https://github.com/duckietm/Arcturus-Morningstar-Extended.git
synced 2026-06-19 15:06:19 +00:00
feat(furnieditor): make item_name immutable (remove from DB update whitelist)
This commit is contained in:
+1
-1
@@ -82,7 +82,7 @@ public class FurniEditorHelper {
|
|||||||
* Prevents SQL injection via arbitrary column names.
|
* Prevents SQL injection via arbitrary column names.
|
||||||
*/
|
*/
|
||||||
public static final java.util.Set<String> ALLOWED_UPDATE_FIELDS = java.util.Set.of(
|
public static final java.util.Set<String> ALLOWED_UPDATE_FIELDS = java.util.Set.of(
|
||||||
"item_name", "public_name", "sprite_id", "type", "width", "length",
|
"public_name", "sprite_id", "type", "width", "length",
|
||||||
"stack_height", "allow_stack", "allow_walk", "allow_sit", "allow_lay",
|
"stack_height", "allow_stack", "allow_walk", "allow_sit", "allow_lay",
|
||||||
"allow_gift", "allow_trade", "allow_recycle", "allow_marketplace_sell",
|
"allow_gift", "allow_trade", "allow_recycle", "allow_marketplace_sell",
|
||||||
"allow_inventory_stack", "interaction_type", "interaction_modes_count",
|
"allow_inventory_stack", "interaction_type", "interaction_modes_count",
|
||||||
|
|||||||
Reference in New Issue
Block a user