Mirror von
https://github.com/PaperMC/Paper.git
synchronisiert 2024-12-19 21:10:10 +01:00
Check file existence before determining readOnly. Fixes BUKKIT-3255
Dieser Commit ist enthalten in:
Ursprung
ec211ed952
Commit
a0cf0d03f4
@ -70,7 +70,7 @@ public class PropertyManager {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
// CraftBukkit start - Don't attempt writing to file if it's read only
|
// CraftBukkit start - Don't attempt writing to file if it's read only
|
||||||
if (!this.c.canWrite()) {
|
if (this.c.exists() && !this.c.canWrite()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren