Correct formatting of the "Configurable UserCache cap" patch
This commit is contained in:
parent
6cd2b27743
commit
7fcaf3f2c7
|
@ -1,4 +1,4 @@
|
|||
From 1628159293d9e528cfdb23dd1a98a45cac8394c3 Mon Sep 17 00:00:00 2001
|
||||
From 16e041fdc87d319ec4d4546ceef8a0dbf6f0689e Mon Sep 17 00:00:00 2001
|
||||
From: drXor <mcyoungsota@gmail.com>
|
||||
Date: Fri, 25 Apr 2014 18:17:30 -0400
|
||||
Subject: [PATCH] Configurable UserCache cap
|
||||
|
@ -18,7 +18,7 @@ index bcccaa9..ee8b6d6 100644
|
|||
|
||||
try {
|
||||
diff --git a/src/main/java/org/spigotmc/SpigotConfig.java b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
index 4703768..57b748a 100644
|
||||
index 4703768..1d35846 100644
|
||||
--- a/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
+++ b/src/main/java/org/spigotmc/SpigotConfig.java
|
||||
@@ -298,4 +298,10 @@ public class SpigotConfig
|
||||
|
@ -29,7 +29,7 @@ index 4703768..57b748a 100644
|
|||
+ public static int userCacheCap;
|
||||
+ private static void userCacheCap()
|
||||
+ {
|
||||
+ userCacheCap = getInt("settings.user-cache-size", 1000);
|
||||
+ userCacheCap = getInt( "settings.user-cache-size", 1000 );
|
||||
+ }
|
||||
}
|
||||
--
|
||||
|
|
Loading…
Reference in a new issue