12 lines
366 B
Kotlin
12 lines
366 B
Kotlin
package net.shadowfacts.phycon.packet
|
|
|
|
import net.shadowfacts.phycon.api.util.IPAddress
|
|
import net.shadowfacts.phycon.block.DeviceBlockEntity
|
|
|
|
/**
|
|
* @author shadowfacts
|
|
*/
|
|
class DeviceRemovedPacket(source: IPAddress, destination: IPAddress = IPAddress.BROADCAST): BasePacket(source, destination) {
|
|
constructor(device: DeviceBlockEntity): this(device.ipAddress)
|
|
}
|