FancyInnovations / FancyInnovations/FancyPlugins

Bug:

Open
#103 1 comment 0 reactions 0 assignees View on GitHub
FancyNpcs Priority: Medium Status: Pending Type: Bug
Dominant language
Java
Stars
88
Forks
109
PR merge metrics
No merged PRs in 30d

Description

### In which plugin has the error occurred?

FancyNpcs

### What happened?

**Bug description**
When trying to give an item to an NPC’s hand or execute commands like sitting, the commands do not work.

**Cause**
This happens because the system language is set to Turkish. In Turkish, there is a capital İ and a lowercase ı. When Java performs case conversions (uppercase ↔ lowercase), it uses the system’s default locale. As a result, the commands fail when running on a Turkish locale.

**Suggested fix**
Force string case conversions to use the en_US locale instead of relying on the system default. This will ensure that commands work consistently regardless of the system language.

### In which software has the error occurred?

Paper

### Plugin version

2.7.1

### Server version

1.21.4

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.