mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	fixed unecessary new line insertions, hopefully
This commit is contained in:
		@@ -44,10 +44,10 @@ public class vMinecraftUsers {
 | 
				
			|||||||
        String location = "vminecraftusers.txt";
 | 
					        String location = "vminecraftusers.txt";
 | 
				
			||||||
        try {
 | 
					        try {
 | 
				
			||||||
            BufferedWriter bw = new BufferedWriter(new FileWriter(location, true));
 | 
					            BufferedWriter bw = new BufferedWriter(new FileWriter(location, true));
 | 
				
			||||||
            bw.append(player.getName()+"::::\r\n");
 | 
					            bw.append(player.getName()+"::::\r");
 | 
				
			||||||
            bw.newLine();
 | 
					            bw.newLine();
 | 
				
			||||||
            bw.close();
 | 
					            bw.close();
 | 
				
			||||||
        } catch (IOException e) {
 | 
					        } catch (Exception e) {
 | 
				
			||||||
            log.log(Level.SEVERE, "Exception while trying to add user with BufferedWriter to " + location, e);
 | 
					            log.log(Level.SEVERE, "Exception while trying to add user with BufferedWriter to " + location, e);
 | 
				
			||||||
		} finally {
 | 
							} finally {
 | 
				
			||||||
			try {
 | 
								try {
 | 
				
			||||||
@@ -55,7 +55,7 @@ public class vMinecraftUsers {
 | 
				
			|||||||
					writer.close();
 | 
										writer.close();
 | 
				
			||||||
				}
 | 
									}
 | 
				
			||||||
			} catch (IOException e) {
 | 
								} catch (IOException e) {
 | 
				
			||||||
				log.log(Level.SEVERE, "Exception while closing writer for " + location, e);
 | 
									log.log(Level.SEVERE, "Exception while closing BufferedWriter to " + location, e);
 | 
				
			||||||
			}
 | 
								}
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user