File tree Expand file tree Collapse file tree
src/main/java/wagemaker/uk Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ public static void grantFreeWorldItems(Inventory inventory) {
5858 inventory .setBowAndArrowCount (250 );
5959
6060 // Add fence materials for the new fence building system
61- inventory .setWoodFenceMaterialCount (250 );
62- inventory .setBambooFenceMaterialCount (250 );
61+ inventory .setWoodFenceMaterialCount (125 );
62+ inventory .setBambooFenceMaterialCount (125 );
6363
6464 System .out .println ("Granted 250 of each item type (including fence materials)" );
6565 }
Original file line number Diff line number Diff line change @@ -43,10 +43,7 @@ public ControlsDialog() {
4343 * Updates the dialog font to use the current font from FontManager.
4444 */
4545 private void updateDialogFont () {
46- // Dispose of old font if it exists
47- if (dialogFont != null ) {
48- dialogFont .dispose ();
49- }
46+
5047
5148 // Get the current font from FontManager
5249 dialogFont = FontManager .getInstance ().getCurrentFont ();
Original file line number Diff line number Diff line change @@ -46,10 +46,7 @@ public ErrorDialog() {
4646 * Updates the dialog font to use the current font from FontManager.
4747 */
4848 private void updateDialogFont () {
49- // Dispose of old font if it exists
50- if (dialogFont != null ) {
51- dialogFont .dispose ();
52- }
49+
5350
5451 // Get the current font from FontManager
5552 dialogFont = FontManager .getInstance ().getCurrentFont ();
You can’t perform that action at this time.
0 commit comments