module Australium
  class PlayerDisconnect < Event

    LOG_REGEX = /"(?<player>.+)" disconnected/

    # @!attribute player
    #   @return [Player] the {Player} who disconnected from the server.

    def initialize(data)
      super(data)
      state.players.delete(player) unless state.nil?
    end

  end
end

module Australium
  class PlayerDisconnect < Event

    LOG_REGEX = /"(?<player>.+)" disconnected"/

    # @!attribute player
    #   @return [Player] the {Player} who disconnected from the server.

    def initialize(data)
      super(data)
      state.players.delete(player) unless state.nil?
    end

  end
end

--- 
+++ 
@@ -1,7 +1,7 @@
 module Australium
   class PlayerDisconnect < Event
 
-    LOG_REGEX = /"(?<player>.+)" disconnected"/
+    LOG_REGEX = /"(?<player>.+)" disconnected/
 
     # @!attribute player
     #   @return [Player] the {Player} who disconnected from the server.
PlayerDisconnect: Fix regex not matching disconnect events

An extra quote character prevented the PlayerDisconnect regex from
correctly matching its associated event in server logs. This commit
removes the erroneous character.
