mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Chimera Wing Enabled Graph
This commit is contained in:
		@@ -183,6 +183,26 @@ public class MetricsManager {
 | 
				
			|||||||
                    }
 | 
					                    }
 | 
				
			||||||
                });
 | 
					                });
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                // Chimera Wing Enabled Graph
 | 
				
			||||||
 | 
					                Graph chimeraGraph = metrics.createGraph("Chimera Wing");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					                if (Config.getInstance().getChimaeraEnabled()) {
 | 
				
			||||||
 | 
					                    chimeraGraph.addPlotter(new Metrics.Plotter("Enabled") {
 | 
				
			||||||
 | 
					                        @Override
 | 
				
			||||||
 | 
					                        public int getValue() {
 | 
				
			||||||
 | 
					                            return 1;
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                    });
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					                else {
 | 
				
			||||||
 | 
					                    chimeraGraph.addPlotter(new Metrics.Plotter("Disabled") {
 | 
				
			||||||
 | 
					                        @Override
 | 
				
			||||||
 | 
					                        public int getValue() {
 | 
				
			||||||
 | 
					                            return 1;
 | 
				
			||||||
 | 
					                        }
 | 
				
			||||||
 | 
					                    });
 | 
				
			||||||
 | 
					                }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
                emetrics.startMetrics();
 | 
					                emetrics.startMetrics();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            catch (IOException e) {
 | 
					            catch (IOException e) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user